So you need to upgrade PHP3 af …

So you need to upgrade PHP3 after the PHP security advisory a few days ago. Here’s how to do it if you can’t compile Apache with DSO support and also need SSL.

$ cd apache_1.3.23
$ ./configure –prefix=/usr/local/apache.443

$ cd php-3.0.18
$ cd functions ; patch < ../../mime.c.diff-3.0 ; cd ..
$ ./configure ‘–with-mysql’ ‘–with-apache=../apache_1.3.23’ ‘–enable-track-vars’
$ make
$ make install

compile openssl (http://www.openssl.org/)

$ cd ../mod_ssl-2.8.7-1.3.23
$ ./configure –with-apache=../apache_1.3.23 –with-ssl=../openssl-0.9.6c –prefix=/usr/local/apache.443 –activate-module=src/modules/php3/libphp3.a

$ cd ../apache_1.3.23
$ make
# make install

Some important links:

Leave a Reply

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close