ID: 10195 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: OpenSSL related Description: https takes forever and a day to return when php is loaded in Apache I've downloaded the latest tar :- php4-200104091745 I no longer have the build error and https with PHP activated and curl option specified now works. No more segmentation fault in the Apache error_log file. This is wonderful. When starting up Apache I have the following error is this something to worry about :- PHP Warning: java: Unable to initialize module Module compiled with debug=0, thread-safety=0 module API=20000809 PHP compiled with debug=0, thread-safety=0 module API=20001222 These options need to match in Unknown on line 0 Previous Comments: --------------------------------------------------------------------------- [2001-04-09 04:05:15] [EMAIL PROTECTED] I tried building with the lastest build as suggested by you and the build errored when it came to making sapi/cgi. I compared the MakeFile in the sapi directory between php 4.02 and the latest and they are different with the lastest one making reference to CGI in several places. Also 4.02 has a Makefile in sapi/cgi whereas the latest doesn't. Also what version of curl are you using I'm using 7.7.1. --------------------------------------------------------------------------- [2001-04-06 11:30:28] [EMAIL PROTECTED] Works for me just fine with latest RC of PHP 4.0.5 and latest CVS. And I have the same versions of openssl and mod_ssl and I have Curl enabled. Please try the latest snapshot: http://snaps.php.net/ --Jani --------------------------------------------------------------------------- [2001-04-06 00:48:50] [EMAIL PROTECTED] Latest information. If I remove with-curl out from the configuration and rebuild PHP the problem no longer appears. I need the curl functionality to use https within the PHP script to another secure web server. --------------------------------------------------------------------------- [2001-04-05 21:07:52] [EMAIL PROTECTED] I am running Apache 3.1.19 with mod_ssl-2.8.2-1.3.19 and OpenSSl-0.9.6 for SSL functionality. Using https from my Internet Explorer 5.0 browser causes the requested web page to be returned after a very long wait, .eg more than 20 minutes maybe longer. Subsequent retrieval takes as long too. If I have PHP disabled by removing the LoadModule and AddModule directive https works immediately however when I reinstate the PHP modules I would experience the problem again. Other scenario :- 1. retrieved a https page with my browser without PHP (response received immediately) 2. modify httpd.conf to enable PHP 3. restarts Apache 4. starts a *NEW* browser to retrieve https(waits very long) 5. using the same browser session in step 1 to retrieve again using https(response received immediately) Also noticed in the Apache errors_log file the following error :- [Fri Apr 6 11:46:30 2001] [notice] child pid 2654 exit signal Segmentation fault (11) [Fri Apr 6 11:46:36 2001] [notice] child pid 2668 exit signal Segmentation fault (11) [Fri Apr 6 11:46:36 2001] [notice] child pid 2667 exit signal Segmentation fault (11) This is how I configure PHP :- ./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/etc/php --with-mysql=/usr --with-java=/usr/java/jdk1.3 --with-ldap --with-imap --with-curl --with-gd --enable-versioning --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=10195 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]