To run phpmyadmin without getting 404 error, configure apache.conf for phpmyadmin.
gksu gedit /etc/apache2/apache2.conf
Then add the following line to the end of the file.
And restart apache
Please read this section in Ubuntu wiki describes the 404 error problem for phpmyadmin.
After upgrading EasyApache in WHM, sometimes it gives 500 (Internal Server Error) error in the browser. If you check the error_log file, you find:
SoftException in Application.cpp:363: GID of script "/home/current_user/public_html/index.php" is smaller than min_gid
SoftException in Application.cpp:363: UID of script "/home/current_user/public_html/index.php" is smaller than min_uid
If you check the permission of user/group for this file, it gives you root. So, apache can’t read these files uploaded by the root user. One solution is to change the permission of user/group to your current user.
chown current_user:current_user /home/current_user/public_html/ -R
This will solve the permission related issue on your site.