Torquil Beavis
asked on
localhost with phpMyAdmin not working on Windows 7
I have installed Apache 2.4 on Windows 7 64 to be started in the command line by httpd.exe. When tested in the browser with http://localhost it worked. I installed PHP 7.0.13, ran a script and it worked. Then I enabled MySQL entensions, MySQL 5.7.16 winx64 followed by phpMyAdmin 4.6.4. Here is the folder structure:
C:
\Apache24\phpmyadmin\index .php
\MySQL
With httpd.exe still running in the command line, I entered http://localhost/phpmyadmin/index.php in the browser expecting the phpmyadmin username/password page. However, it returned
"The requested URL /phpmyadmin/index.php was not found on this server".
I thought that Apache24 was the root (localhost), yet it seems not.
What am I doing wrong here?
C:
\Apache24\phpmyadmin\index
\MySQL
With httpd.exe still running in the command line, I entered http://localhost/phpmyadmin/index.php in the browser expecting the phpmyadmin username/password page. However, it returned
"The requested URL /phpmyadmin/index.php was not found on this server".
I thought that Apache24 was the root (localhost), yet it seems not.
What am I doing wrong here?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
So should the PHP and MySQL folders be under the htdocs folder also, or in C:\ like Apache?No, those are the folders for the binaries and utilities for PHP and MySQL programs. 'phpMyAdmin' is written in PHP and needs to be web-accessible like any other PHP page you will write.
ASKER