Upload the onethinkphp program that has been prepared to the centos server. The nginx environment is installed and there is no problem in entering the user module. However, when entering the background module, the system prompts that the module cannot be loaded, is it nginx configuration problems? Ps: there is no problem in testing in the local apache environment. You can upload an onethinkphp program to the centos server. The nginx environment is installed and there is no problem in entering the user module, however, when entering the background module, the system prompts that the module cannot be loaded. Is it nginx configuration problems? Ps: You can test it in a local apache environment.
Reply content:
Upload the onethinkphp program that has been prepared to the centos server. The nginx environment is installed and there is no problem in entering the user module. However, when entering the background module, the system prompts that the module cannot be loaded, is it nginx configuration problems? Ps: You can test it in a local apache environment.
Permission, and whether the rewrite of the url is normal, because apache uses file rewriting, and you cannot use it if you put it in nginx. You must configure the VM .. There are also some permissions.
PATHINFO Problems
Check whether the directory permission in linux is correct.