Home > Article > Backend Development > 403 appears when accessing phpmyadmin under nginx? ? ?
System: ubuntu1604, PHP7.0, nginx;
After installing phpmyadmin through apt, setting /usr/share/phpmyadmin to link to /var/www/html/phpmyadmin, a 403 appears when accessing localhost/phpmyadmin. Please tell me how to configure it? ? ?
System: ubuntu1604, PHP7.0, nginx;
After installing phpmyadmin through apt, setting /usr/share/phpmyadmin to link to /var/www/html/phpmyadmin, a 403 appears when accessing localhost/phpmyadmin. Please tell me how to configure it? ? ?
Solved, nginx is not configured to parse PHP
403, incorrect permissions
403 means no permission! As for the one that says the file cannot be found, 404 means the file cannot be found!
In addition to permission issues, selinux will also restrict access to files that are not under /var/www/html!