Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Nessa's Blog:
Using an .htaccess with PHP Compiled as CGI
Dec 07, 2007 @ 16:18:00

Nessa has posted another new tutorial based around her experiences with suPHP. This time it deals with using an .htaccess file for changing the settings of the PHP installation.

First of all, if you'd rather use the .htaccess than the php.ini capabilities of a phpsuexec environment, then shame on you. But, we have some customers who are terrified of php.ini and would rather use the .htaccess. So what? Ok, well there is a workaround.

The connecting piece is the htscanner extension - she includes installation instructions and how to include it into your PHP installation (as well as how to set the PHP values in the .htaccess).

tagged: htaccess compile cgi htscanner phpsuexec install configure htaccess compile cgi htscanner phpsuexec install configure

Link: