• 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.

Issue How to custom PHP settings Plesk

NhanChinhKhang

New Pleskian
I have the following PHP settings set in Plesk:

upload_max_filesize = 2048M
max_file_uploads = 50
post_max_size -2048M
max_input_vars = 10000
max_input_time = 60
memory_limit = 512M

But they do not appear to be working. For example, upload_max_filesize is set to 2048M, but in my WordPress sites, max upload size is still the default 2M.

I just set up Litespeed tonight. Previously I was using Apache and these settings worked fine. They only stopped working after installing Litespeed using the Plesk Litespeed extension.

PHP Version: 5.6.30
Handler: FastCGI
Plesk Version: 17.0.17
OS: Ubuntu 16.04
Dedicated Server config:
Main Hard Drive 120GB SSD
2nd Hard Drive 250GB SATA
RAM 16GB RAM
Dual Intel Xeon 5150


I did find that I can add the following limes to to the "Additional Apache Directives" under Apache and Nginx Settings:
php_value upload_max_filesize 2048M
php_value post_max_size 2048M

And get the desired result there. And I know I cam place most php directives in a similar fashion. But I prefer to do things the RIGHT way and add them to the PHP settings directly.

Any help would be much appreciated.
Oh, and the PHP info page also does not reflect the custom settings.
 
Back
Top