I intend to install Drupal using Composer and the php setting "allow_url_fopen" needs to be set to "On". The system default seems to be set to "Off". I have a local php.ini file, that was created through cPanel, in my home directory with the "allow_url_fopen" set to "On". However Composer won't run and complains about the incorrect setting. If from my directory I execute the command ">php -i | grep allow_url_fopen" I see the output as "allow_url_fopen => Off => Off".
Why is then when I run php from my home directory the settings in the local php.ini file aren't being respected?
Customer support service by UserEcho