• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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