Koozali.org: home of the SME Server

PHP 4.2.2

Peter

PHP 4.2.2
« on: November 22, 2002, 09:57:14 PM »
Hi there!

Is there any howto on upgrading PHP to 4.2.2 on E-smith 5.5. I searched the forum but found only a few old howto's/instructions which weren't very clear to me.

Grt.

Peter

Dan Brown

Re: PHP 4.2.2
« Reply #1 on: November 22, 2002, 10:21:19 PM »
I have RPMs in my contrib area on ftp.e-smith.org, but no howto, as I haven't installed SME 5.5.

Peter

Re: PHP 4.2.2
« Reply #2 on: November 22, 2002, 11:00:50 PM »
I tried these already but got stuck on dependency errors. All kinds of libs (libssl, libcrypto, etc) seems to be missing.

Dan Brown

Re: PHP 4.2.2
« Reply #3 on: November 22, 2002, 11:07:06 PM »
Then you used the wrong ones--you need to use the ones tagged rh72, which are only available as i386.

Peter

Re: PHP 4.2.2
« Reply #4 on: November 23, 2002, 02:57:26 PM »
I tried them Dan, still got an error. A strange error because I don't have Postgress installed.

error: failed dependencies:
        php = 4.1.2-2es3 is needed by php-pgsql-4.1.2-2es3

Dan Brown

Re: PHP 4.2.2
« Reply #5 on: November 23, 2002, 04:48:21 PM »
For some strange reason, php-pgsql seems to be installed by default in SME 5.5.  Remove it, and you should be fine.

Peter

Re: PHP 4.2.2
« Reply #6 on: November 23, 2002, 05:41:12 PM »
Thanks Dan! Everything works fine now. Altough I needed to install a higher version of Log. I got a blank page after logging in and out Webmail  because the Log.php was missing from the /usr/share/pear directory.

Dan Brown

Re: PHP 4.2.2
« Reply #7 on: November 23, 2002, 05:46:20 PM »
That's right; PHP 4.2.x doesn't include most of the PEAR classes.  That's one of the reasons I haven't updated my HOWTO to reflect those versions.