• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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