Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Peter on November 22, 2002, 09:57:14 PM

Title: PHP 4.2.2
Post by: Peter 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
Title: Re: PHP 4.2.2
Post by: Dan Brown 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.
Title: Re: PHP 4.2.2
Post by: Peter 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.
Title: Re: PHP 4.2.2
Post by: Dan Brown 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.
Title: Re: PHP 4.2.2
Post by: Peter 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
Title: Re: PHP 4.2.2
Post by: Dan Brown 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.
Title: Re: PHP 4.2.2
Post by: Peter 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.
Title: Re: PHP 4.2.2
Post by: Dan Brown 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.