1.jpg

Archive for the ‘Code Snippets’ Category

In case if you are getting errors while using fsockopen() function in PHP, then it could be possible that ssl extension is not enabled in your php setup.  the possible errors are “Unable to find the socket transport “ssl” – did you forget to enable it when you configured PHP?” or the error code ’69009760′.

In this case you may need to have access to php.ini to enable ssl extension and the steps are pretty simple provided you have the access.

Open your php.ini file and look for extension line

1
;extension=php_openssl.dll

Step 1 – Delete the semicolon from this line and save php.ini file

Step 2 – Restart apache server and thats it.

after reloading your pages functions like fsockopen() should work as designed. hope this may save someone’s time searching for such fix.

  • Share/Bookmark
Gallery
DSC_0011 qj114 46980084 100_1343 DSC_0017 02052007716 100_1214 03052007796 qjb030 02052007713
Sabre