System: ubuntu1604, PHP7.0, and nginx. after using aptinstallphpmyadmin, set usr?phpmyadmin to link to varwwwhtmlphpmyadmin, and access localhostphpmyadmin with 403 error. How can I configure it ??? System: ubuntu1604, PHP7.0, nginx;
After you use apt install phpmyadmin, set/usr/share/phpmyadmin to/var/www/html/phpmyadmin, and access localhost/phpmyadmin with 403 error. How can I configure it ???
Reply content:
System: ubuntu1604, PHP7.0, nginx;
After you use apt install phpmyadmin, set/usr/share/phpmyadmin to/var/www/html/phpmyadmin, and access localhost/phpmyadmin with 403 error. How can I configure it ???
Resolved. nginx does not configure PHP parsing
403. The permission is incorrect.
403 indicates no permission! For those who cannot find the file, 404 won't find the file!
In addition to permission issues, selinux also restricts access to files not under/var/www/html!