Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started 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
-
Rigger made a few changes to PHP upgrade script so things will run smooter... ;-)
# 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
-
Great job guys, I am really impressed. This script worked flawlessly and quickly, even quicker than a microsoft windows update :)
Kris
-
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
-
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
-
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.
-
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
-
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 ? :-)
-
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.
-
changing the path in php.inf from:
../perl to ../pear should solve the webmail problem. Unfortunately it didn't (in my case)
-
Whoops! Forgot to check at home. I'll send myself a reminder. :hammer:
-
I edited one template, 50PathsDirectories:
include_path : ".:/usr/share/pear"
/Jens
-
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).
-
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.
-
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
-
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.