• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

FastCGI-stderr: PHP Fatal error

G

gregory_storme

Guest
Hi,

I've been trying out the new Sitebuilder 5.1.0 on Plesk 10.1.1 (Debian 5.0).
This has been working fine until now. When I publish the site, it stops at 95% with the error "Unable to connect to SiteBuilder server. Please contact the server administrator".

In /var/log/sw-cp-server/error_log:

(mod_fastcgi.c.2582) FastCGI-stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 24 bytes) in /opt/psa/admin/plib/Zend/Db/Statement/Pdo.php on line 284

No server settings have been changed lately. Any idea what causes this?
 
Try to increase the following values in /etc/php.ini, for example:

memory_limit = 32M
upload_max_filesize = 24M
post_max_size = 12M

and restart Apache.
 
These values are set now, I've restarted apache2 after modifying /etc/php5/apache2/php.ini.

memory_limit = 128M (not modified)
post_max_size = 16M
upload_max_filesize = 24M

But the same error remains upon publishing the site.
 
Ok. It looks like a problem of admin's PHP. In that case try to increase memory limits in /usr/local/psa/admin/conf/php.ini
 
Raising the memory_limit in this php.ini from 128M to 192M fixed this.
Thanks
 
Back
Top