• 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

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