ispCP - Board - Support
Per Directory PHP Value?? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: Per Directory PHP Value?? (/thread-3799.html)



Per Directory PHP Value?? - aphorist - 07-19-2008 08:50 PM

Some time I used .htaccess to secure some directory like /image or other
and change global php value to suit some cms (wordpress, xoops, joomla, ...)
but i can't do that with .htaccess. Why?


RE: Per Directory PHP Value?? - ephigenie - 07-20-2008 12:09 AM

you can use .htaccess however not for manipulating php settings as php is executed over fastcgi per default.
This ensures that php is executed only with the rights of the current user ( domain ) .
.htaccess & php settings require mod_php however which does not provide these security restrictions.

So you'll have to change this on a per domain basis below /var/www/fcgi is a php.ini for every domain.