简体   繁体   中英

Error while running phpmyadmin using localhost/phpmyadmin

My problem is if i run http://localhost/phpmyadmin

it doesn't work but if i run http://localhost/phpmyadmin/index.php

it will work. Is there is something i have missed while configuring phpmyadmin, secondly how do i configure http://localhost/phpmyadmin/index.php path to work on http://localhost/phpmyadmin .

Or is it something related to apache.conf file, if yes then how do i configure apache.conf file. I want my project and phpmyadmin to run on localhost like if i run http://localhost/ then it should run my project and if i run http://localhost/phpmyadmin then it should open the index.php of phpmyadmin . Thanks

您需要DirectoryIndex指令,例如:

DirectoryIndex index.php

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM