majdi draouil
New Pleskian
- Server operating system version
- Ubuntu 22.04.5 LTS
- Plesk version and microupdate number
- Obsidian18.0.72
Environment:
============
- Plesk Version: Obsidian (latest)
- OS: Ubuntu 22.04.5 LTS
- PHP Version: 8.2.29 (FPM)
- WordPress Version: 6.7.0
- Domain: nefzawa.net
Problem:
========
WordPress shows this error when uploading images:
"The server cannot process the image. This can happen if the server is busy
or does not have enough resources to complete the task. Uploading a smaller
image may help. Suggested maximum size is 2,560 pixels."
What I've Found:
================
1. PHP CLI (php.ini) shows CORRECT limits:
memory_limit => 512M
upload_max_filesize => 512M
post_max_size => 512M
2. PHP-FPM Pool Config has NO limits or only:
/opt/plesk/php/8.2/etc/php-fpm.d/nefzawa.net.conf
php_value[memory_limit] = 256M
(Missing: upload_max_filesize and post_max_size)
3. Nginx configured correctly:
client_max_body_size 134217728;
4. Both GD and Imagick extensions are loaded
5. Upload directory permissions are correct (drwxr-xr-x)
6. Previous uploads worked fine (October 2025 folder has images)
What I Tried:
=============
Command:
plesk bin php_settings -u -domain nefzawa.net -memory-limit 512M -upload-max-filesize 512M -post-max-size 512M
Result: "Per-domain PHP settings of all domains were successfully updated."
Problem: FPM pool config file doesn't actually change!
Verification:
grep -E "memory_limit|upload_max|post_max" /opt/plesk/php/8.2/etc/php-fpm.d/nefzawa.net.conf
Still shows old values or empty.
Additional Info:
================
- No errors in /var/log/plesk-php82-fpm/error.log
- WordPress debug.log is empty
- Server resources are fine (40% memory, 78% disk)
- PHP-FPM service is active and running
Has anyone solved this issue where Plesk doesn't properly apply PHP-FPM pool
limits for WordPress image uploads?[/CODE]
============
- Plesk Version: Obsidian (latest)
- OS: Ubuntu 22.04.5 LTS
- PHP Version: 8.2.29 (FPM)
- WordPress Version: 6.7.0
- Domain: nefzawa.net
Problem:
========
WordPress shows this error when uploading images:
"The server cannot process the image. This can happen if the server is busy
or does not have enough resources to complete the task. Uploading a smaller
image may help. Suggested maximum size is 2,560 pixels."
What I've Found:
================
1. PHP CLI (php.ini) shows CORRECT limits:
memory_limit => 512M
upload_max_filesize => 512M
post_max_size => 512M
2. PHP-FPM Pool Config has NO limits or only:
/opt/plesk/php/8.2/etc/php-fpm.d/nefzawa.net.conf
php_value[memory_limit] = 256M
(Missing: upload_max_filesize and post_max_size)
3. Nginx configured correctly:
client_max_body_size 134217728;
4. Both GD and Imagick extensions are loaded
5. Upload directory permissions are correct (drwxr-xr-x)
6. Previous uploads worked fine (October 2025 folder has images)
What I Tried:
=============
Command:
plesk bin php_settings -u -domain nefzawa.net -memory-limit 512M -upload-max-filesize 512M -post-max-size 512M
Result: "Per-domain PHP settings of all domains were successfully updated."
Problem: FPM pool config file doesn't actually change!
Verification:
grep -E "memory_limit|upload_max|post_max" /opt/plesk/php/8.2/etc/php-fpm.d/nefzawa.net.conf
Still shows old values or empty.
Additional Info:
================
- No errors in /var/log/plesk-php82-fpm/error.log
- WordPress debug.log is empty
- Server resources are fine (40% memory, 78% disk)
- PHP-FPM service is active and running
Has anyone solved this issue where Plesk doesn't properly apply PHP-FPM pool
limits for WordPress image uploads?[/CODE]