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

PHP-FPM causes 500 internal server error for Webmail

yasmagic

New Pleskian
I enabled atomic repo and installed PHP-FPM. Now, Horde webmail is giving 500 internal server error. But, website works fine.

This issue is happening with PHP 5.4.19 used by PHP-FPM in plesk. If downgraded to PHP 5.3.3, webmail works.


I see the following errors in /var/log/messages

Aug 30 15:19:02 kernel: grsec: From 204.188.186.4: Segmentation fault occurred at 0000000001000741 in /usr/bin/php-cgi[php-cgi:19299] uid/euid:10012/10012 gid/egid:505/505, parent /usr/sbin/httpd[httpd:19150] uid/euid:0/502 gid/egid:503/503

Aug 30 15:19:02 kernel: grsec: From 204.188.186.4: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/php-cgi[php-cgi:19299] uid/euid:10012/10012 gid/egid:505/505, parent /usr/sbin/httpd[httpd:19150] uid/euid:0/502 gid/egid:503/503

Aug 30 15:19:03 kernel: php-cgi[19165]: segfault at 1000741 ip 00000000005eecf0 sp 000003aaec1dde28 error 4 in php-cgi[400000+341000]


Anyone has face similar issue? Does anyone know how to fix this?

FYI: I am using ASL Kernel

Thanks in advance.
 
You are aware that Plesk doesn't support grsec kernels, aren't you? Aside from that looks like a PHP bug. You may file a bug to Atomic or PHP.
 
Back
Top