Like many others, I have attempted to follow the guide on implementing a custom php.ini file which can be found at
Unfortunately, I can’t seem to get it working properly.
I’ve created the cgi-bin folder in my web root, copied the php.cgi and php.ini files into it using the script. And I created the .htaccess file in the web root, containing the prescribed text. I even “Protected my PHP file” with .htaccess file that resides in the cgi-bin folder. I even tried removing the .htaccess file in the cgi-bin folder.
All this, and still, the phpinfo(), as seen at revision.distortiononline.com, states that it is looking for php.ini at /etc/php5/cgi/php.ini
needless to say, none of the modifications in my php.ini file have taken effect yet either.
Any help would be greatly appreciated.