SoFunction
Updated on 2025-03-10

How to solve the problem of php-fpm not starting

1. Re-download a 64-bit "".

2. Put it under "/usr/local/zend/".

3. Just re-execute "lamp php-fpm start".

Repair steps

Use the file command to view the current file information and you can see that the current so file is 32-bit file.

test@ubuntu:/usr/local/zend$ file 
: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped

Download the 64-bit ZendGuardLoader, then replace the original .so file and restart php-fpm

wget /guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.
tar -xvf ZendGuardLoader-php-5.3-linux-glibc23-x86_64.
 
cp ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5./ /usr/local/zend/

After replacing it with file, you can see the currently 64-bit file.

test@ubuntu:/usr/local/zend$ file 
: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

This is the end of this article about how to solve the problem of php-fpm not being started. For more related solutions for php-fpm not being started, please search for my previous articles or continue browsing the related articles below. I hope everyone will support me in the future!