[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-security] Apache pkgs
- Subject: Re: [cobalt-security] Apache pkgs
- From: "D. Yates Buckley" <yates@xxxxxxxxx>
- Date: Mon, 08 Jul 2002 12:37:43 +0100
- List-id: Mailing list for users to address network security on Cobalt products. <cobalt-security.list.cobalt.com>
Hello,
Sorry for this silly post, but it might help someone searching for
problems... It would have helped me!
When I installed the packages:
RaQ4-All-Security-2.0.1-15417.pkg , RaQ4-All-Security-2.0.1-14559.pkg
RaQ4-All-System-2.0.1-14185.pkg , RaQ4-All-Security-2.0.1-13323.pkg
On one raq I found that my PHP had been downgraded from the pkgmaster 4.1.2
to a 4.0.1
so all my code would work in very very bizarre ways. Indeed I lost a day
trying to debug
php till I tried uploading a php_info and noted the downgrade.
I installed pkgmaster's php on top and all was well, for some reason this
raq did not
require a rpm -i --force of the contents of the pkgs above.
On another raq httpd dissappeared, and would not restart complaining about
Zend:
Failed loading /usr/local/Zend/lib/ZendOptimizer.so:
/usr/local/Zend/lib/ZendOptimizer.so: undefined symbol: zend_get_ini_entry
Here I wasted the better half of a morning with all sites down! Ugh...
Basically I did the following and it seems to work happily:
(I assume all the above pkgs are installed)
- Comment out modules from httpd.conf (php, mysql_auth...)
- Restart httpd or keep commenting things out till finally httpd appears
- Now stop httpd
- Download the pkgmaster php version
- tar -zxvf RaQ4-PHP-4.1.2-3.pkg somewhere
- rpm -i --force the RPMS in there
- Remove comments from php in httpd.conf, make sure php.ini has
Zend and other odd things commented out as well.. checking logfiles.
I am left with an old ZendOptimiser that will not work, but everything else
seems fine now.
Note: that the functions trim() and preg_match_all() both are different
from 4.0.1 to 4.2.1, if you
get this error you need to install the pkgmaster.com 4.2.1 version.
I hope this helps someone go through the upgrade with less panick that I did.
Yates Buckley,
Technical Director, Unit9 Ltd.