• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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