• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

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