On Wed, Oct 06, 2004 at 10:19:32PM -0500, Michael Chaney wrote: > On Thu, Oct 07, 2004 at 09:40:40AM +0800, Aris Santillan wrote: > > hi > > > > anyone from here had configure php.ini per directory basis? > > any good howto? or resource? > > This isn't specific to PHP. > > <Directory /home/me/whatever/> > php_admin_flag engine off > </Directory> > > or > > <Location /whatever> > php_admin_flag ... > </Location>
Tried that out before. It seemed to work only with php running as a module. FROM http://ph.php.net/configuration.changes: How to change configuration settings Running PHP as an Apache module When using PHP as an Apache module, you can also change the configuration settings using directives in Apache configuration files (e.g. httpd.conf) and .htaccess files. You will need "AllowOverride Options" or "AllowOverride All" privileges to do so. [...] php_value name value [...] php_flag name on|off [...] php_admin_value name value [...] php_admin_flag name on|off -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
