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.
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!