Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: ergozd on July 22, 2004, 10:07:32 AM

Title: PHP v4.3.8 upgrade script
Post by: ergozd on July 22, 2004, 10:07:32 AM
Hi there!

Based on Rigger's script and Dan Brown's RPMS.
As always use it at your own risk... ;-)

Available at http://ergin.dyndns.org/download/php4.3.8-upgrade.sh

Best rgds, Ergin
Title: PHP v4.3.8 upgrade script
Post by: ergozd on July 23, 2004, 08:38:46 AM
Rigger made a few changes to PHP upgrade script so things will run smooter... ;-)

Quote
# 2004-07-23 Latest update from Rigger
# Recognize that the unixODBC package is already installed and skip downloading it...
# Also changed the pear install commands to pear upgrade. This will stop the failure
# notice if already installed and will still install the package if not installed already.


Best rgds, Ergin
Title: works like a charm
Post by: knaidoo on July 25, 2004, 07:43:46 AM
Great job guys, I am really impressed. This script worked flawlessly and quickly, even quicker than a microsoft windows update :)

Kris
Title: PHP v4.3.8 upgrade script
Post by: ergozd on July 25, 2004, 09:11:54 AM
Glad to be able to help...

Those who deserv real credit are Dan Brown for creating RPMS and Rigger for his script. I simply hos the file... ;-)

Best rgds, Ergin
Title: PHP v4.3.8 upgrade script
Post by: Kruuse on August 04, 2004, 09:17:44 PM
Worked like a charm on my 5.6U6 w/ php-4.3.6 so I had some trouble-shooting time left over.  :pint:

The previous, manual php upgrades have been very smooth as well, except for 4.3.5 -> 4.3.6. For some reason that was all screwy and I had to fiddle with PEAR and some other paths. Odd. :-?

/Jens
Title: PHP v4.3.8 upgrade script
Post by: Henk on August 04, 2004, 11:07:04 PM
Quote from: "Kruuse"


The previous, manual php upgrades have been very smooth as well, except for 4.3.5 -> 4.3.6. For some reason that was all screwy and I had to fiddle with PEAR and some other paths. Odd. :-?

/Jens


What exactly did you have to fiddle with? Using the PHP 4.3.8 update script works on SME 5.6, but webmail doesn't work anymore and the primary ibay only shows blank pages.
Title: PHP v4.3.8 upgrade script
Post by: Kruuse on August 04, 2004, 11:13:52 PM
Quote from: "Henk"
Quote from: "Kruuse"


The previous, manual php upgrades have been very smooth as well, except for 4.3.5 -> 4.3.6. For some reason that was all screwy and I had to fiddle with PEAR and some other paths. Odd. :-?

/Jens


What exactly did you have to fiddle with? Using the PHP 4.3.8 update script works on SME 5.6, but webmail doesn't work anymore and the primary ibay only shows blank pages.

I'm sorry but I don't really recall what went wrong with php-4.3.6. It is a while back. For some reason php could no longer locate the PEAR stuff, so I simply used the log messages to find and fix the problems.
As for webmail it was no problem for me. Perhaps because I upgraded Horde a long time ago?

My primary site doesn't use php at all.

/Jens
Title: Same problem here
Post by: Appesteijn on August 05, 2004, 05:59:41 AM
This is the error in the log-file:

aug  5 05:37:35 server-one httpd:
PHP Warning:  write(): Failed opening 'Crypt/HCEMD5.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/html/horde/lib/Secret.php on line 39

aug  5 05:37:35 server-one httpd:
PHP Fatal error:  Cannot instantiate non-existent class:  crypt_hcemd5 in /home/httpd/html/horde/lib/Secret.php on line 41

Does it ring a bell ?  :-)
Title: Re: Same problem here
Post by: Kruuse on August 05, 2004, 09:13:31 AM
Quote from: "Appesteijn"
This is the error in the log-file:

aug  5 05:37:35 server-one httpd:
PHP Warning:  write(): Failed opening 'Crypt/HCEMD5.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/html/horde/lib/Secret.php on line 39

aug  5 05:37:35 server-one httpd:
PHP Fatal error:  Cannot instantiate non-existent class:  crypt_hcemd5 in /home/httpd/html/horde/lib/Secret.php on line 41

Does it ring a bell ?  :-)


Yes, it does. I don't have access to my server right now but IIRC I copied the php.ini template into a custom template and edited the include_path. When I expanded the template, everything was fine. I'll look into it when I get home.
Title: php.conf
Post by: Appesteijn on August 06, 2004, 10:27:43 AM
changing the path in php.inf from:
../perl to ../pear  should solve the webmail problem. Unfortunately it didn't (in my case)
Title: PHP v4.3.8 upgrade script
Post by: Kruuse on August 06, 2004, 10:31:40 AM
Whoops! Forgot to check at home. I'll send myself a reminder. :hammer:
Title: PHP v4.3.8 upgrade script
Post by: Kruuse on August 06, 2004, 06:55:06 PM
I edited one template, 50PathsDirectories:
Code: [Select]
include_path : ".:/usr/share/pear"

/Jens
Title: hmm
Post by: Appesteijn on August 06, 2004, 11:49:29 PM
Hmm, I was afraid of that. I already edited that file in templates-custom. But it still doesn't work.

[edit]:
It works!!

I've manualy updated php and horde (and his friends).
Title: Re: hmm
Post by: Kruuse on August 07, 2004, 11:11:09 PM
Quote from: "Appesteijn"
Hmm, I was afraid of that. I already edited that file in templates-custom. But it still doesn't work.

[edit]:
It works!!

I've manualy updated php and horde (and his friends).


I suppose this is where this fellow :-D should be used.
Title: PHP v4.3.8 upgrade script
Post by: jzhang on April 15, 2005, 10:34:45 AM
can someone send me a file of Dan Brown's php-4.3.10  RPMS.

i cant find the download page.

my email address is jzhang@swang.com.cn
Title: PHP v4.3.8 upgrade script
Post by: raem on April 15, 2005, 11:33:02 AM
jzhang
> can someone send me a file of Dan Brown's php-4.3.10  RPMS.
> i cant find the download page.

That lazy to find it yourself ! They are in the contribs.org Downloads contribs area.