#26562 [Opn->Fbk]: fopen for https Sites does not work
ID: 26562
Updated by: wez@php.net
Reported By: sahin dot etik at web dot de
-Status: Open
+Status: Feedback
Bug Type: OpenSSL related
Operating System: Solaris 8
PHP Version: 4.3.4
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-12-09 10:03:00] sahin dot etik at web dot de
Description:
------------
I have compiled PHP 4.3.4 with openssl (V 0.9.6b) support for using on
an iPlanet Web Server Version 4.1 SP9 :
./configure --prefix=/usr/local/php-4.3.4 \
--with-mysql=no --enable-track-vars \
--with-openssl=/usr/local/ssl \
--with-gd \
--with-jpeg-dir=/usr/local/jpeg-6b \
--with-png-dir=/usr/local/libpng-1.2.5 \
--with-zlib-dir=/usr/local/zlib-1.1.4 \
--with-freetype-dir=/usr/local/freetype-2.1.3 \
--enable-libgcc \
--with-nsapi=/opt/netscape/server4 \
--with-ldap=/usr/local/ldapsdk-30 \
--with-oci8=/opt/oracle/8.1.7 ;
I execute a script containing fopen for a https site, e.g.:
<?
echo "fopen ...";
$fp = fopen("https://secure.intranet/pages/pages.htm","r");
echo "fclose ...";
fclose($fp);
?>
fopen will cause the Web Server to crash and it will be restartet by
the watchdog process, in /var/adm/messages:
Dec 9 15:30:05 su00055-5 genunix: [ID 457380 kern.notice] NOTICE:
core_log: ns-httpd[24558] core dump failed, errno=27:
/var/core/core.ns-httpd.24558.su00055-5.60001.60001.1070980205
Dec 9 15:30:05 su00055-5 uxwdog[24551]: [ID 767207 daemon.error]
server terminated (signal 11): watchdog is restarting it
at the same time in Web Server Error Log:
[09/Dec/2003:15:30:07] info (24561): php4_init reports: Initialized PHP
Module (128 threads exspected)
There are no messages in php.log,
when I try to fopen an http site, everything is ok.
Thank you in advance for any hints.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26562&edit=1
Thread (5 messages)