FuguTabetai
02-16-2006, 12:22 AM
Hello,
I wanted to update my PHP to PHP5 (since I'm writing some stuff that uses classes now) on my White Box Linux install here. The default sources top out at php-4.3.2 I believe. Anyway, with a pointer from Carl here, I was able to update fairly easily.
I downloaded
php-5.1.1-1.1.rhel3.ct.i386.rpm
php-imap-5.1.1-1.1.rhel3.ct.i386.rpm
php-ldap-5.1.1-1.1.rhel3.ct.i386.rpm
php-mysql-5.1.1-1.1.rhel3.ct.i386.rpm
from
http://mirror.cheetaweb.com/redhat/3ES/i386/RPMS.php51/
Doing a standard rpm -U on those packages went fine, but when I tried to start up php to test it out:
php -vi php: relocation error: php: undefined symbol: xmlParserInputBufferCreateFilenameDefault
Checking around, this because libxml2 is too old. So I found
libxml2-2.6.16-1.1.el3.rf.i386.rpm
libxml2-python-2.6.16-1.1.el3.rf.i386.rpm
from http://mirror.cheetaweb.com/redhat/3ES/i386/RPMS.cheeta/, installed those, and things are working great (after tweaking the php.ini settings.)
I needed libxml2-python for something else I had installed.
I wanted to update my PHP to PHP5 (since I'm writing some stuff that uses classes now) on my White Box Linux install here. The default sources top out at php-4.3.2 I believe. Anyway, with a pointer from Carl here, I was able to update fairly easily.
I downloaded
php-5.1.1-1.1.rhel3.ct.i386.rpm
php-imap-5.1.1-1.1.rhel3.ct.i386.rpm
php-ldap-5.1.1-1.1.rhel3.ct.i386.rpm
php-mysql-5.1.1-1.1.rhel3.ct.i386.rpm
from
http://mirror.cheetaweb.com/redhat/3ES/i386/RPMS.php51/
Doing a standard rpm -U on those packages went fine, but when I tried to start up php to test it out:
php -vi php: relocation error: php: undefined symbol: xmlParserInputBufferCreateFilenameDefault
Checking around, this because libxml2 is too old. So I found
libxml2-2.6.16-1.1.el3.rf.i386.rpm
libxml2-python-2.6.16-1.1.el3.rf.i386.rpm
from http://mirror.cheetaweb.com/redhat/3ES/i386/RPMS.cheeta/, installed those, and things are working great (after tweaking the php.ini settings.)
I needed libxml2-python for something else I had installed.