Wondering if anyone can lend me some assistance in getting my custom php.ini file to work. I’ve followed the instructions in the wiki (http://wiki.dreamhost.com/php.ini) to the letter, but a test using php_info() indicates that my site is not using the custom php.ini file (it is still using /etc/php5/cgi/php.ini).
It seems to me that my .htaccess file is not making the site use the /cgi-bin/php-wrapper.cgi file, but I can’t figure out why.
There are numerous posts about custom php.ini files here in the forums, but none of the suggestions or fixes seem to be working for me.
The only way in which my steps differed from the wiki article was that I had to create my .htaccess file, while the wiki seemed to indicate that it should have already been there.
Anyway, here’s the contents of my .htaccess file, found in my site’s root folder:
Action php-cgi /cgi-bin/php-wrapper.cgi
Action php5-cgi /cgi-bin/php-wrapper.cgiAnd here’s the contents of my php-wrapper.cgi file, found in the site’s cgi-bin folder:
exec /dh/cgi-system/php5.cgi $*
EOFI’ve changed the permissions on both the cgi-bin folder and the .htaccess file to 755, and my cgi-bin/php.ini file to 640.
Can anyone see anything I’m missing?