Fixing the openssl extension is missing wamp error

If you're running WAMP and have recently installed cURL for command line and receive the error "The openssl extension is missing, which means that secure HTTPS transfer are impossible", then you'll need to enable the OpenSSL extension on your system. 

WAMP uses different php.ini files for CLI (command line interface) and apache. To enable the OpenSSL extension on the command line version you'll need to browse to the php.ini file, on a default installation it will be in the following folder (version will need changing):

C:\wamp\bin\php\php5.3.13

Browse to the line that reads:

;extension=php_openssl.dll

...and remove the semicolon preceding the line. Restart your WAMP server services (click in your icon tray > 'Restart All Services' then open a new command line and retry the command that caused the error.

Sign Up

NEXT: Setting up cron jobs on linux via command line

Cron jobs allow you to run scheduled tasks on your server. This can be useful if you need to back up, clear or sort data on a regular basis. In this tutorial we're going to look at setting up a simple cron job via command line that will call a designated url each day.

comments powered by Disqus
Sign Up

Popular Tags

350x250

Need a web developer?

If you'd like to work with code synthesis on your next project get in touch via the contact page.