- Plesk Onyx for Linux
- Plesk for Linux
WordPress Toolkit detects WordPress installation as broken if PHP 7.x is set for the domain:
CONFIG_TEXT: A wordpress installation was previously detected at this path, but it is not operating properly now
The following messages can be found in /var/log/messages:
CONFIG_TEXT: web kernel: PAX: execution attempt in: <anonymous mapping>, 3a33f190000-3a33f1b0000 3a33f190000
web kernel: PAX: terminating task: /opt/plesk/php/7.2/sbin/php-fpm(php-fpm):7676, uid/euid: 10004/10004, PC: 000003a33f190010, SP: 000003cfdd4944f8
web kernel: grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /opt/plesk/php/7.2/sbin/php-fpm[php-fpm:7676] uid/euid:10004/10004 gid/egid:1003/1003, parent /opt/plesk/php/7.2/sbin/php-fpm[php-fpm:2090] uid/euid:0/0 gid/egid:0/0
kernel is used on the system. This kernel is not supported by Plesk.
There are three workarounds for the issue:
- Disable MPROTECT flag, below example is for Plesk PHP7.2-FPM:
# service plesk-php72-fpm stop
# paxctl -cm /opt/plesk/php/7.2/sbin/php-fpm
# service plesk-php72-fpm start
Note: Path /opt/plesk/php/7.2/sbin/php-fpm was taken from the symptom.
- Switch the affected domains to PHP version different from PHP 7.x in Plesk > Domains > example.com > PHP Settings
- Reboot the system using standart CentOS kernel.
Otherwise contact Grsec support team https://grsecurity.net/support.php