After changing from XAMPP to MAMP the loaded configuration file isn't loaded in command line.
Runnung php --ini..
Configuration File (php.ini) Path: C:\WINDOWS
Loaded Configuration File: (none)
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)
The php.ini works fine when loaded from localhost with phpinfo();
.
Since there is no php.ini I get the following message when running composer command for example..
[Composer\Exception\NoSslException]
The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl ex
tension, you can disable this error, at your own risk, by setting the 'disable-tls' option to true.
Edit: I know that enabling extension=php_openssl.dll will solve the NoSslException in php.ini but the question is how to load the correct php.ini in command line?