Skip to content
Advertisement

Tag: ubuntu

Enabling php ext-xml?

While trying to use Composer to create a Symfony 4 project I got the following error: I did search in php.ini for ext-xml to see if I could uncomment it in order to enable it but I did not find any mention of ext-xml. I have not searched anywhere else because I am very unsure about what I am doing.

LAMP PHP configuration

OS: Ubuntu 17.10 (Artful Aardvark) I have installed the LAMP stack and Laravel, and when I tried composer install in my Laravel application, I got the following errors. I have rechecked the files, all extensions are enabled and they are located in the /usr/lib/php/20160303 folder. Answer Sometimes the problem is the php-xml extension. Try:

Error while compiling php – DSO missing

I compiled php7 as below sudo make throws following error /usr/bin/ld: ext/curl/.libs/interface.o: undefined reference to symbol ‘CRYPTO_set_id_callback@@OPENSSL_1.0.0’ //lib/x86_64-linux-gnu/libcrypto.so.1.0.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 make: *** [sapi/cli/php] Error 1 Answer it seems you’re missing configure flag –with-openssl=/path/to http://php.net/manual/en/openssl.installation.php it’s not needed for php, but it’s needed

Advertisement