Re: Disabling an extension on a perdir basis.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Quadling wrote:

> On 11 September 2010 20:24, Jim Lucas <lists@xxxxxxxxx> wrote:
>> As I thought, looking through the docs, it looks like the only way to set
>> the options that are only settable via the php.ini file is to use a per
>> directory php.ini file.  But, the problem with that is, it only works
>> with the CGI/FASTCGI SAPI version of php.  It won't work with the apache
>> mod version.
>>
>> So, I guess the question back to you is, what is your setup like?  And if
>> it isn't CGI/FASTCGI SAPI are you willing to change to that setup?
>>
>> Read More: http://www.php.net/manual/en/configuration.file.per-user.php
> 
> Thanks for that. FastCGI. Will do some more work on it now.
> 
> 
If you are wanting to disable parsing of php files on a per-directory basis,
you can do this via .htaccess using

php_flag engine 1|0 (or on|off if you prefer)

http://php.net/manual/en/apache.configuration.php#ini.engine Rather well
hidden - took me a few minutes to dig it out :-)



Cheers
-- 
David Robley

If you would know a man, observe how he treats a cat.
Today is Setting Orange, the 36th day of Bureaucracy in the YOLD 3176. 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux