I upgraded my PHP installation through pacman today to 5.1.1-2 and I am now getting the following error:
Fatal error: Class 'mysqli' not found
I do not understand why it is doing this, as mysqli.so exists in the PHP extensions directory. Any thoughts?
did you enable it in your php.ini?
When php gets upgraded your old php.ini file is replaced with a new one. Your old one can be found in /etc/php.ini.pacsave
If your only problem is the mysqli extension I recommend you just keep using the new php.ini, but make sure that there is a line in there that reads:
PEAR Seems to be broken in php-5.1.1-2.
Trying to find pearcmd.php in /home/build/repos/arch/build/devel/php/pkg/usr/share/pear/, which really is in /usr/share/pear.
Yupp, and sorry for that. As of php-5.1 PERA is broken since the installation is not able to use the INSTALL_ROOT handed to make properly. Unfortunately ther eis no workaround yet and the php duder seriously suggest to make a seperate pear installation on post_install() (which would bypass our package datbase and is the most dirty way ever)
So for the time being we might go back to php 5.0.5