Search Our Database

Error : Unable to Access PHPMyAdmin Due to “Internal Server Error”

Last updated on |

Normally phpMyAdmin can be accessed by browsing to one of these following URLs:

However, if you can only access the phpMyAdmin through:[server ip address]/phpmyadmin

But getting the phpMyAdmin drop with “Internal Server Error” when trying to access phpMyAdmin using one of these URLs:

It’s possibly due to a mis-configured httpd.conf. You can refer the following steps to fix it:

Step 1 – First edit the httpd.conf file:

# vi /etc/httpd/conf/httpd.conf


Step 2 – Add the following lines:

    php_admin_value open_basedir /var/www/html/phpMyAdmin/:/var/www/html:/tmp:/tmp/

    php_admin_value open_basedir /var/www/html/phpMyAdmin/:/var/www/html:/tmp:/tmp/

Step 3 – Save it and restart the httpd service.

# /etc/init.d/httpd restart