Composer Warning: openssl extension is missing. How to enable in WAMP
WAMP uses different php.ini files in the CLI and for Apache. when you enable php_openssl through the WAMP UI, you enable it for Apache, not for the CLI.
You need to modify C:\wamp\bin\php\php-5.4.3\php.ini to enable it for the CLI.
Install Composer fails with The openssl extension is missing error
I suspect "php.ini-production" is a dummy configuration file suitable for live environments. Do a php -i
at the console and find the 'php.ini' path, to see where it is expecting the ini file to be kept. This is normally expecting "php.ini", and may not actually exist - if it does not, copy php.ini-development (or similar) to the location required.
This is near the top of (a very long) output, so you may find redirecting it to a file helpful (php -i > C:\phpinfo.txt
).
Related Topics
How to Get Beanstalkd Queue to Work for PHP
Send Cookie with File_Get_Contents
Display the Discounted Percentage Near Sale Price in Single Product Pages for Wc 3.0+
PHP Read_Exif_Data and Adjust Orientation
Laravel Model with Two Primary Keys Update
Simplest Way to Increment a Date in PHP
Send PHP Date to JavaScript Date Format
Disable Deprecated Warning in Symfony 2(.7)
How to Use Pdo's Prepared Statement for Order by and Limit Clauses
Prevent Browser's Back Button Login After Logout in Laravel 5
How to Check If There Is a There Is a Wget Instance Running
Simple HTML Dom: How to Remove Elements
Undefined Variable Problem with PHP Function
Custom Pagination View in Laravel 5
How to Extract Links and Titles from a .HTML Page
Remove Duplicate from String in PHP