php-fpm-74: line 82: kill: (475636**)-No such process
I just compiled the environment today and reported an error after I installed it. php7.4 could not be started and could not be restarted. It has been closed.
The environment is a BT pagoda panel
I first go to Baidu Google to search for related tutorials
When I execute sudo lnmp php-fpm restart, the following error will appear
Starting php-fpm /usr/local/php/sbin/php-fpm: error while loading shared libraries: libmcrypt.so.4: cannot open shared object file: No such file or directory failed
And libmcrypt.so.4 exists. In usr/local/lib, the solution mentioned on the Internet is to add the line /usr/local/lib in /etc/ld.so.conf.
Then I opened the ld.so.conf file, which has been loaded.
==========================
Then I tried to kill php-fpm
Then restart
sudo lnmp php-fpm kill
sudo /etc/init.d/php-fpm start
Then php-fpm is started successfully, and then you can access the php file in the root directory
But according to the requirements of the late stage of obsessive-compulsive disorder, I didn’t allow this and I didn’t do it
I uninstalled and then reinstalled. It has been resolved.
There are two ways to install BT Pagoda, one is rapid installation, the other is compilation and installation
In addition to the mysql database, it is recommended to use the compilation and installation method. Others can be extremely fast
If there is an error, you can switch the installation mode. It is recommended that there is sufficient time to compile and complete the installation.
If you make a mistake, you can switch to the speed mode, I wish you success