ID: 26612 User updated by: zefram at zefram dot net Reported By: zefram at zefram dot net -Status: Feedback +Status: Closed Bug Type: OpenSSL related Operating System: FreeBSD 4.9 STABLE PHP Version: 4.3.4 New Comment:
That does indeed fix the problem. Thank you!! Previous Comments: ------------------------------------------------------------------------ [2003-12-14 20:25:29] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip I think this was fixed already.. ------------------------------------------------------------------------ [2003-12-13 16:25:45] zefram at zefram dot net I seem to have fixed the problem. HAVE_OPENSSL_EXT was being defined in main/php_config.h, which is fine.. but it didn't seem to be getting to other files such as ext/standard/fsock.c. I included this file in php.h, and everything compiled fine and my registered streams are now: php, http, ftp, https, ftps, compress.zlib I'd like to keep this bug open, until we figure out why it's not working on FreeBSD, or at least in my case, if that is amicable. John ------------------------------------------------------------------------ [2003-12-13 15:30:50] zefram at zefram dot net I'd also like to note that I do see OpenSSL support listed in phpinfo. I don't see the same thing on another machine with OpenSSL installed but not in PHP. It's listed as thus: openssl OpenSSL support enabled OpenSSL Version OpenSSL 0.9.7c 30 Sep 2003 ------------------------------------------------------------------------ [2003-12-13 15:12:52] zefram at zefram dot net I made sure to check the build date in the phpinfo(), and sure enough it was correct. I couldn't believe it was happening. I do recompile Apache after I make install php. I also watched the Apache build, and it supplied -lssl when compiling php. I even installed mod_ssl thinking that would help.. but no go. I'm going to look into ports to see if they're doing some special magic, or it is indeed broken there also. I get no compile errors, save for some mktemp warnings. Is there a way to list the compiled options in libphp4.a? John ------------------------------------------------------------------------ [2003-12-13 13:51:49] [EMAIL PROTECTED] --with-apache compiles PHP into apache statically (which means that Apache must also be recompiled/installed whenever PHP is recompiled/installed). Making a guess from your comment "I stop/start apache after upgrading" I'm not certain you're doing that. Are you? phpinfo() should give a "Build Date" for which the currently running PHP was compiled. Double check that to make sure you're running the version you think you are. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/26612 -- Edit this bug report at http://bugs.php.net/?id=26612&edit=1