Koozali.org: home of the SME Server

PHP v4.3.8 upgrade script

ergozd

PHP v4.3.8 upgrade script
« 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

ergozd

PHP v4.3.8 upgrade script
« Reply #1 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

knaidoo

works like a charm
« Reply #2 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

ergozd

PHP v4.3.8 upgrade script
« Reply #3 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

Kruuse

PHP v4.3.8 upgrade script
« Reply #4 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

Henk

PHP v4.3.8 upgrade script
« Reply #5 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.

Kruuse

PHP v4.3.8 upgrade script
« Reply #6 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

Offline Appesteijn

  • **
  • 62
  • +0/-0
Same problem here
« Reply #7 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 ?  :-)
............

Kruuse

Re: Same problem here
« Reply #8 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.

Offline Appesteijn

  • **
  • 62
  • +0/-0
php.conf
« Reply #9 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)
............

Kruuse

PHP v4.3.8 upgrade script
« Reply #10 on: August 06, 2004, 10:31:40 AM »
Whoops! Forgot to check at home. I'll send myself a reminder. :hammer:

Kruuse

PHP v4.3.8 upgrade script
« Reply #11 on: August 06, 2004, 06:55:06 PM »
I edited one template, 50PathsDirectories:
Code: [Select]
include_path : ".:/usr/share/pear"

/Jens

Offline Appesteijn

  • **
  • 62
  • +0/-0
hmm
« Reply #12 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).
............

Kruuse

Re: hmm
« Reply #13 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.

jzhang

PHP v4.3.8 upgrade script
« Reply #14 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