php_admin_* directives in a phpSuExec environment
| From: | Santi Saez | Date: | Thu, 05 Jan 2006 16:51:05 +0000 |
| Subject: | php_admin_* directives in a phpSuExec environment | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-228212@lists.php.net to get a copy of this message | ||
Hello,
Is there anyway to prevent users from modifying limits imposed by php.ini configuration in a phpSuExec configured PHP installation??
For example in server with PHP running in a module, I use php_admin_* directives:
php_admin_value memory_limit 40M
And users can't modify them from .htacess (php_value memory_limit 40M) or in a script: ini_set("memory_limit","40M").
This doesnt work in a phpSuExec enviroment.. I can modify those limits with a php.ini file or with a script :-(
Is there anyway to prevent this?? Thanks
Regards,
--
Santi Saez