Issue
lsphp enabled websites not working. The following error can be seen in /var/log/apache2/stderr.log:
lscgid: execve():/opt/cpanel/ea-php56/root/usr/bin/lsphp: Exec format error
Environment
- cPanel
- CloudLinux
Solution
Check affected lsphp binary for the correspondence PHP version:
# ls -al /opt/cpanel/ea-php56/root/usr/bin/lsphp*
dr-xr-xr-x 2 root root 4096 Jul 18 12:47 .
drwxr-xr-x 14 root root 4096 Jul 12 15:38 ..
-rwxr-xr-x 1 root root 0 Sep 16 01:32 lsphp
-rw-r--r-- 1 root linksafe 39 Sep 18 10:54 lsphp.cagefs
In the output lsphp size is 0
Reinstall the PHP version. For example, ea-php56
# yum reinstall ea-php56*
Comments
0 comments
Article is closed for comments.