I just reinstalled my webserver and found myself having an error that I know nothing about :(
I'm using apache 2, I'm assuming my mysql environment is well installed, although I have no clue on how to check that. I just unzipped phpmyadmin 4.5 on the www/ folder, created the config folder , gave it the right rights, moved my config.ini.php inside, but whenever i try to acces domainname/phpMyAdmin or domainname/phpMyAdmin/setup/ i'm getting this:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@domainname and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
And here are the apache2 logs:
[Sun Aug 23 19:11:23 2015] [error] [client 79.91.191.99] SoftException in Application.cpp:350: UID of script "/home/MGC/www/phpMyAdmin/index.php" is smaller than min_ uid
[Sun Aug 23 19:11:23 2015] [error] [client 79.91.191.99] Premature end of script hearders: index.php
Run the following in ssh terminal
in the phpmyadmin root dir to fix permissions
chmod -R 0755 *
to find the apache user
ps aux | egrep '(apache|httpd|www)'
outside the phpmyadmin dir to set ownership
chown -R www-data:www-data *
www-data
is the apache user on ubuntu, on your distro might be different
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.