• 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

How to set a PHP.ini setting globally for all domains?

Kroptokin

Regular Pleskian
Hi

I can see how to do this per domain (PHP settings under the domain)

Where do I add an additional directive which will effect all domains?

Thanks

--Justin Wyllie
 
Just add it in server wide php.ini. If you have domain with CGI/FastCGI mode of PHP some of values will be taken from /var/www/vhosts/DOMAINNAME/conf/php.ini file despite of settings defined in Plesk interface. Thus priority of receiving settings for custom php.ini is following:

server-wide php.ini < PHP setting defined for the domain in the Plesk GUI < domain's conf/php.ini
 
Back
Top