problem with fsockopen()
Posted: Wed May 06, 2009 1:14 pm
Hi all, i m not a php guy but more of a .NET and java developer. Recently only i started on virtuaMart, Joomla and wanted to make use of USPS APIs for shipping rates etc.
I am facing a weird problem whose solution is not yet found in most of the forums or blogs.. its been 5 days i m banging my head here and there, but no luck yet.
here is the exception...
Here i must mention that my php.ini have the following extensions enabled as.
allow_url_fopen = On
extension=php_openssl.dll
extension=php_soap.dll
extension=php_sockets.dll
i am using protocol as "http"
Kindly assist..
I am facing a weird problem whose solution is not yet found in most of the forums or blogs.. its been 5 days i m banging my head here and there, but no luck yet.
here is the exception...
Now basically i use PHP5 installed alongwith NuSphere IDE.. i belive problem is somewhere in my phpsettings and not the code..Warning: fsockopen() [function.fsockopen]: unable to connect to http://testing.shippingapis.com:0 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in D:\Mynxx\administrator\components\com_virtuemart\classes\shipping\usps.php on line 229
Here i must mention that my php.ini have the following extensions enabled as.
allow_url_fopen = On
extension=php_openssl.dll
extension=php_soap.dll
extension=php_sockets.dll
i am using protocol as "http"
Kindly assist..