eqasim11.jpg

PHP – How to enable ssl on your php server

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

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Daily Quranic Verse

Then he cast a glance at the stars (to deceive them), [As-Saffaat 37:88]

Gallery

03070138 DSC_0015 01052007661 03450161