I was running PHP 4.0.6.
I read about the fileupload vulnerability and decided to upgrade to PHP 4.1.2.
When running the configure script, I used the following commandline with
PHP 4.0.6:

CFLAGS="-O2 -DHAVE_SYS_RESOURCE_H" ./configure  --with-apxs=/usr/local/apache/bin/apxs 
--with-config-file-path=/usr/local/apache/conf --with-mysql --with-imap 
--with-gd=/usr/local --enable-debug=no --enable-track-vars

When attempting to do the same with PHP 4.1.2 it generated the following
error message:
-----
checking for crypt in -lcrypt... (cached) yes
configure: error: This c-client library is build with SSL support.

      Add --with-imap-ssl<=DIR> to your configure line. Check config.log for details.
-----


I then added "--with-imap-ssl" and the configure script ran okay but when I did a 
"make"
I was presented with the following error message:
-----
/usr/bin/ld: cannot open -lcrypto: No such file or directory
-----


I then added "--with-ssl" to the command line of the configure script and that seemed
to solve the problem with "make" but when starting Apache, I was presented with the
following error message:
-----
Syntax error on line 72 of /usr/local/apache/conf/httpd.conf:
/usr/local/apache/bin/apachectl startssl: httpd could not be started
Cannot load /usr/local/apache/libexec/libphp4.so into server: 
/usr/local/apache/libexec/libphp4.so: undefined symbol: ssl_onceonlyinit
-----


I then tried to change the "--with-ssl" parameter to "--with-ssl=/usr/local/ssl" and 
compiled again
but once again when starting apache I received the same error.

I then tried to remove "--with-ssl" from the configure script parameters and changed
"--with-imap-ssl" to "--with-imap-ssl=/usr/local/ssl" and compiled again but once again
when starting apache I received the same error.

Any assistance will be greatly appreciated.

Regards
Ashley


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to