Article directory
How to resolve the error " Failed loading /usr/lib/php/modules/ZendGuardLoader.so"?
Failed loading /usr/lib/php/modules/ZendGuardLoader.so: /usr/lib/php/modules/ZendGuardLoader.so: cannot open shared object file: Not a directory
Actually , I encountered this problem the first time I installed ZendGuardLoader in the CWP control panel , and it took me quite a bit of time to solve it.
I had this problem yesterday, and it took me all night to find the reason, and I forgot how to solve the problem I encountered before. I only found out today that it is because the folder path does not exist:
/usr/lib/php/modules/
Try to open and enter, are you sure you can't access?
cd /usr/lib/php/modules/
The returned results are as follows (indicating that the folder does not exist):
-bash: cd: /usr/lib/php/modules/: Not a directory
Solution
1. Enter the command to create the folder of this path in SSH:
mkdir /usr/lib/php/modules/
2. Or create the folder of the route through the SFTP client.
summary of a problem
In order to avoid the same problem in the future and wasting too much time to find a solution, I decided to make a detailed record of the problems encountered from now on.
Don't think that the problem is solved this time, even if you encounter the same problem in the future, it will be solved quickly, and don't foolishly think that making records is a waste of time!
If I hadn't kept detailed records on my Chen Weiliang blog, I would most likely have forgotten how I solved the problem, and then I would have had to spend time solving it again, which would have been a waste of time!
Therefore, it is necessary to develop the good habit of "encountering problems, eliminating errors, finding and solving problems", and making detailed records immediately. If you encounter similar encounters in the future, you can go through the records made before and you can easily solve them.
Hopefully, the article "How to solve the 'Failed loading /usr/lib/php/modules/ZendGuardLoader.so' error" shared on Chen Weiliang's blog ( https://www.chenweiliang.com/ ) will be helpful to you.
Feel free to share this article's link: https://www.chenweiliang.com/cwl-135.html
