I am trying to install magento, here I came up with renaming a file name php.ini.sample to php5.ini. When I checked whether the file is reading or not I created a info.php file and uploaded to the server. Now the information shows as below:
Configuration File (php.ini) Path /etc/php54.ini.d/
Loaded Configuration File /etc/php54.ini.d/php.ini
Scan this dir for additional .ini files /etc/php54.d
etc/php54 is a server ini file. My file resides in the home/public file. The Scan this dir for additional .ini files dosent scan my php5.ini file I created and uploaded on the server. I am on a shared hosting plan 123-reg.co.uk. How do I turn things around here?
One can append his own inis by using
SetEnv PHP_INI_SCAN_DIR /path1/php.d/:/path2/
in virtual host at least for PHP 7.2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With