15 Oct 2009 15:02
Re: force all php.ini to /home/user/
Hello,
you can set the location of the php.ini in your
httpd.conf in each VirtualHost:
<Files *.php>
SetEnv PHPRC /path/to/your/php/ini
SetEnv PHPRC /path/to/your/php/ini
</Files>
Please, use only the path to the location e.g.
/home/user/user1 and not the complete path like
/home/user/user1/php.ini.
If you or your users user different files than
*.php you need to add for each fileending an entry in your
httpd.conf.
Regards
Kai
----- Original Message -----From: Nadas CosminSent: Tuesday, September 22, 2009 9:21 AMSubject: [suPHP] force all php.ini to /home/user/Hello,
is it possible to set the default location for php.ini for all the users in the users home directory
like
application/x-httpd-php5=/usr/local/lib/
but the path to be /home/user/
so the user cannot create other php.ini files
regards,
Cosmin_______________________________________________
suPHP mailing list
suPHP-qhrM8SXbD5JCREYaNQg7v0EOCMrvLtNR@public.gmane.org
https://lists.marsching.com/mailman/listinfo/suphp
_______________________________________________ suPHP mailing list suPHP@... https://lists.marsching.com/mailman/listinfo/suphp
RSS Feed