Http://localhost/phptheadmin/ does not show login screen

apache-2.2installation

I installed phpmyadmin and apache 2.2 on my system.
I have configured my conf/httpd file as said by changing the "DirectoryIndex index.php"

But when i try to access my localhost/phpmyadmin/, a php code page appears and not the login page.

Help appreciated.

Thanks,
Shiva..

Best Answer

You also need to install php so it can render the code.

Depends on your OS which is not mentioned, just google on how to install php (ex, in centos: yum install php or apt-get install php5 for debian alike ; it should also install the dependencies)

Then you need to restart apache and it should execute the php code.

Good luck