• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Issue Site PHP settings don't change anything

iHuman

Basic Pleskian
I have a dozen or so WordPress sites hosted on my server. I'm using PHP 7.1.18 with nginx. I've noticed that if I change the settings on an individual domain (ie post_max_size, upload_max_filesize, etc) it has absolutely no effect. Uploading images in WordPress still show the wrong file sizes (ie 2M or 32M). Instead, it seems that the only way to resolve this is to edit the php.ini file for PHP 7.1.8.

While this seems counterintuitive to custom settings for each domain, does that mean individual domain settings can only be LOWER than what is configured in php.ini?
 
Hi iHuman,

if I change the settings on an individual domain (ie post_max_size, upload_max_filesize, etc) it has absolutely no effect.
Pls. describe HOW you changed the settings ( step-by-step ) and pls. ( !!! ) post as well the corresponding "phpinfo" AFTER you made the changes for a (sub)domain and make sure, that you restarted the corresponding PHP - FPM - service after your changes.

Pls. add as well corresponding log - file entries and try to increase the log - level for a more verbose output in your logs. ;)


Uploading images in WordPress still show the wrong file sizes (ie 2M or 32M)
You did you investigate the new settings?


does that mean individual domain settings can only be LOWER than what is configured in php.ini
No.
 
Back
Top