• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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