You are not logged in.

#1 2005-11-30 03:04:05

bostoniman
Member
Registered: 2004-09-17
Posts: 213
Website

PHP5 Upgrade Problems

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?

Offline

#2 2005-11-30 19:57:53

alexmat
Member
Registered: 2004-12-31
Posts: 100

Re: PHP5 Upgrade Problems

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:

extenstion=mysqli.so

Good luck  wink

Offline

#3 2005-12-04 23:26:24

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: PHP5 Upgrade Problems

snutz wrote:

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

-neri

Offline

Board footer

Powered by FluxBB