Jump to content

Recommended Posts

Apache - 2.28 

MySql 5.0.51

PHP 5.2.5

phpMyAdmin 2.6.0

 

apache documentroot = "c:/att/wwwroot"

copied phpmyadmin files under the document root c:/att/wwwroot/phpmyadmin

have adjusted phpmyadmin config.ini uri to :$cfg['pmaAbsoluteUri']='http://localhost/phpMyAdmin/';

but when invoked on IE http://localhost/phpMyAdmin, I got Http 404 page not found

 

Can someone tell me what have I done wrong.

 

By the way, when I download phpMyAdmin 2.22.4, I could not find config.ini, all I found was config,sample.ini and this sample.ini file

does not have the above "absoluteUri" command, have I missed something??

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/92881-cannot-load-phpmyadmin/
Share on other sites

Not sure about the config.ini - but have you setup your apache install to allow index.php to run as a default page..

 

It is under Directory index in the http.conf file and should look like this

 

<IfModule dir_module>
    DirectoryIndex index.php index.html
</IfModule>

 

You may be getting the 404 error because it is looking for an index.html that does not exist in the root folder of phpmyadmin

 

Cheers

Dave

Thanks Dave,

 

But I checked for the directoryindex tag in the config file of Apache, it looks something like this:

 

DirectoryIndex index.html index.html.var index.php index.htm

 

It is not exactly what you have with the <IfModule dir_module> </IfModule> though. 

 

Is it different??

 

Cheers,

Stephen

You may be getting the 404 error because it is looking for an index.html that does not exist in the root folder of phpmyadmin

Apache wont respond with a 404 error message if it cannot find an index file listed within the DirectroyIndex directive. Instead it will either respond with a 403 forbidden error, or display files within the directory (if Indexes is set within the Options directive).

 

@kwstephenchan. PHPMyAdmin does not need to have a config.ini.php in order for function it can run without one. You'll can run the phpMyAdmin setup script which will generate the config.ini.php for you. Please read the phpMyAdmin documentation for running the setup script.

 

What happens when you go http://localhost/

You may be getting the 404 error because it is looking for an index.html that does not exist in the root folder of phpmyadmin

Apache wont respond with a 404 error message if it cannot find an index file listed within the DirectroyIndex directive. Instead it will either respond with a 403 forbidden error, or display files within the directory (if Indexes is set within the Options directive).

 

You are absolutley correct - apologies for the bum steer!!

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.