• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

PHP 5.3 Run as FastCGi Application

wisw

New Pleskian
Hello,
I setup PHP support to Run as FastCGi Application,
and i setup the memory_limit=32M in DOMAIN/etc/php.ini,
then i create a php program with ini_set('memory_limit','128M'),
it does not according to my settings are limited.
How can i limit it , only just use the disable_function = 'ini_set' ?
or Was there other methods ?
Because,
When PHP runs as apache module , i can use the php_admin_value in vhost.conf to limit what i want , it does not limit everything like this (disable_function).

any ideas,

many thanks
 
But this does not solve my problem.
I understand its relationship about php.ini.
I just want if i setup the memory_limit = 123M in php.ini and then php programs can not use the ini_set() to setup its wanted with php runs as fastcgi application.
 
If you would like to disallow ALL "ini_set" possibilities, then your restriction is correct. If you just want to disable the single ini_set for the memory usage, you could do this over suhosin ( suhosin.memory_limit ).
 
Back
Top