cannot start apache with PHP4 without mod_ssl enabled
| From: | Kai Schaetzl | Date: | Sun, 11 Feb 2001 02:47:19 +0000 |
| Subject: | cannot start apache with PHP4 without mod_ssl enabled | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2021@lists.php.net to get a copy of this message | ||
This is a freshly compiled PHP 4.0.4pl1 on RedHat 6.1 with OpenSSL
0.9.6, with most other libraries updated to the latest available and
working versions.
I first got an error about an undefined kerberos symbol and found
several hints on this list that this is caused by an imap with
kerberos support and to compile --with-kerberos, which I did.
./configure --with-config-file-path=/home/www/conf
--with-apxs=/usr/local/apache/bin/apxs --enable-ftp --with-gd
--with-jpeg-dir=/usr --with-imap --with-kerberos=/usr/kerberos
--with-mysql --with-zlib --with-gettext --with-ldap=/usr
--with-mm=/usr/local/lib
Now, the kerberos error is gone but I get this one:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol:
SSL_CTX_set_tmp_rsa_callback
As it turned out this error comes *only* if Apache is not explicitly
started with ssl. So, only "apachectl startssl" will do the trick.
Well, I intend to use mod_ssl, anyway, but nevertheless, it's
unconvenient not being able to temporarely disable it. Also, I cannot
restart or graceful - these will throw the same error. Only a "real"
startssl will do. Why I'm forced to SSL now?
Thanks,
Kai
--
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
IE-Center: http://ie5.de & http://msie.winware.org
ClubWin - Help for Windows Users: http://www.clubwin.com