Home >Backend Development >PHP Problem >What should I do if Pagoda php cannot run?

What should I do if Pagoda php cannot run?

藏色散人
藏色散人Original
2022-10-27 09:38:423598browse

Solution to the problem that Pagoda PHP cannot run: 1. Execute the "find / -name libcrypto.so.1.0.0" command; 2. Find the directory where so is located; 3. Edit "/etc/ld. so.conf" file, add a line of ".so" file path; 4. Update "/etc/ld.so.cache"; 5. Restart PHP.

What should I do if Pagoda php cannot run?

The operating environment of this tutorial: Windows 7 system, PHP version 8.1, Dell G3 computer.

What should I do if Pagoda php cannot run?

Problem description:

Pagoda php cannot be started, error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared...

Record the so missing problem. In my case, it was caused by PHP version switching in Pagoda Panel. PHP could not be started. If you have similar problems, you can draw inferences. I have seen many methods on the Internet, which are quite vague. After summarizing, this method can be solved.

/www/server/php/56/sbin/php-fpm: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared
object file: No such file or directory

Solution:

First:

find / -name libcrypto.so.1.0.0

Find the directory where this so is located

Edit /etc/ld. so.conf file, add a line of .so file path

After adding, run ldconfig, update /etc/ld.so.cache

Be sure to run

After completion Started php successfully.

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of What should I do if Pagoda php cannot run?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn