PDA

View Full Version : Installing php5 on White Box Linux


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.

iceman
08-17-2006, 09:33 AM
Hi,

I would like to upgrade Apache, PHP and MySQL to its newest stable versions. Could someone provide step-by-step instructions to upgrade/freshen these either by Shell access or through Webmin.

The issue I have is that I do not know to download, compile and build applications in Linux.

I would prefer the RPM upgrade/freshenig method.

I would like to upgrade to:

Apache – 2.1/2.2
PHP – 5.1.4
MySQL – 5.0.24

Many thanks in advance in helping.

Cheers,

Ash