You are not logged in.
I run a Apache server with php enabled which was running fine until I upgraded php and php-apache (5.6.15-3 -> 5.6.16-3) with the command
pacman -Syyu
Now, some php modules are missing
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gettext.so' - /usr/lib/php/modules/gettext.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/iconv.so' - /usr/lib/php/modules/iconv.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/openssl.so' - /usr/lib/php/modules/openssl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_mysql.so' - /usr/lib/php/modules/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
And as a matter of fact, if I look at the directory
ls /usr/lib/php/modules
gd.so geoip.so
Only modules that were installed from a separate packages are around, and everything else is gone. Next time, I will make a backup before doing any update, but in the meantime,
what can I do to recover the lost modules?
If this helps, php on command line segfaults.
Last edited by kde35 (2015-12-27 07:43:09)
Offline
Actually it sufficed to reinstall php to solve the problem. (I had reinstalled apache, php-apache, mariadb etc., everything but php before making the post...)
Offline