Fshockopen error while opening a https stream urgent help needed
| From: | choksi | Date: | Thu, 16 Jun 2005 12:08:06 +0000 |
| Subject: | Fshockopen error while opening a https stream urgent help needed | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-217064@lists.php.net to get a copy of this message | ||
Hello All
I am running PHP5.0.2 over apache 1.3.29 and openssl-0.9.7d on a Debian
Php Configure command './configure' '--with-apxs=/www/bin/apxs'
'--with-openssl-dir=/usr/local/src/webserver/openssl-0.9.7d/'
'--enable-trans-sid' '--disable-libxml'
Registered PHP Streams : php, file, http, ftp
Registered Stream Socket Transports : tcp, udp, unix, udg
allow_url_fopen : On On
Now when i try to open a https url via it gives me this error
[Wed Jun 15 19:03:36 2005] [error] PHP Warning: fsockopen() [<a
href='function.fsockopen'>function.fsockopen</a>]: unable to connect to
ssl:// 192.168.0.10:443<http://www.google.com/url?sa=D&q=http://www.testcall.com:443>(Unable
to find the socket transport
"ssl" - did you forget to enable it when you configured PHP?)
in /www/htdocs/testcon.php on line 2
I am trying to fix this from last few days but not successful can some
please help me its very urgent.
Do I need to register ssl and https as registered php streams? and if
so how do i register them.
Thankyou
Regards
Dhaval Choksi