In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
The main content of this article is "how to solve the problem that php-fpm can't start". Interested friends might as well take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to solve the problem that php-fpm can't start.
Php-fpm can not start the solution: 1, re-download a 64-bit "ZendGuardLoader.so"; 2, put it under "/ usr/local/zend/"; 3, re-execute "lamp php-fpm start".
Operating environment: ubuntu 16.04system, PHP5.3 version, DELL G3 computer
What if php-fpm can't start? Failed to start php-fpm?
Startup error phenomenon: wrong ELF class: ELFCLASS32
Test@ubuntu:/usr/local/zend$ sudo lnmp php-fpm start+---+ | Manager for LNMP Written by Licess | +-+ | http://lnmp.org | +-+ Starting php-fpm Failed loading / usr/local/zend/ZendGuardLoader.so: / usr/local/zend/ZendGuardLoader.so: wrong ELF class: ELFCLASS32 [03-May-2017 00:03:15] ERROR: FPM initialization failedfailed
This error is due to the fact that the ZendGuardLoader.so module called by the php-fpm module is a 32-bit module, but the current system is 64 for the system, so it is wrong to download a 64-bit ZendGuardLoader.so and put it under / usr/local/zend/, and then re-execute lamp php-fpm start.
The following are the repair steps:
Using the file command to view the file information of the current ZendGuardLoader.so, you can see that the current so file is a 32-bit file.
Test@ubuntu:/usr/local/zend$ file ZendGuardLoader.so
ZendGuardLoader.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
Download and extract the 64-bit ZendGuardLoader, then replace the original .so file and restart php-fpm
Wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
Tar-xvf ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
Cp ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5.3.x/ZendGuardLoader.so / usr/local/zend/
If you re-use file to look at the replaced ZendGuardLoader.so, you can see the file that is currently 64-bit.
Test@ubuntu:/usr/local/zend$ file ZendGuardLoader.so
ZendGuardLoader.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
At this point, I believe you have a deeper understanding of "how to solve the problem that php-fpm cannot start". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.