简体   繁体   中英

PHP my admin not working after reinstalled WAMP

Wamp, phpMyAdmin and stuff worked perfectly until i upgraded it from phpmyadmin4.0.4 to phpmyadmin4.1.14.

Now i get 'You don't have permission to access /phpmyadmin/ on this server.' message...

myPhpAdmin.conf is here:

<Directory "c:/wamp/apps/phpmyadmin4.1.14/">
   Options Indexes FollowSymLinks MultiViews
   AllowOverride all
  <IfDefine APACHE24>
    Require local
  </IfDefine>
  <IfDefine !APACHE24>
    Order Deny,Allow
      Deny from all
      Allow from localhost ::1 127.0.0.1
    </IfDefine>
  php_admin_value upload_max_filesize 128M
  php_admin_value post_max_size 128M
  php_admin_value max_execution_time 360
  php_admin_value max_input_time 360
</Directory>

I haven't found solution for this... Thanks

EDIT 1:

Now, here is a strange thing. Apache error logs outputs this when i try to access http://localhost/phpmyadmin/ :

[Thu May 28 17:52:12.600573 2015] [authz_core:error] [pid 5872:tid 800] [client ::1:50257] AH01630: client denied by server configuration: C:/wamp/apps/phpmyadmin4.0.4, referer: http://localhost/

As you can se client denied by server configuration on wrong folder (server outputs phpmyadmin with 4.0.4 version - according to phpmyadmin syntax)!

I think that is wrong, but how can i change that server configuration?

The first line of \\wamp\\alias\\phpmyadmin.conf should also be amended to match the new folder location of your upgraded phpmyadmin

Alias /phpmyadmin "c:/wamp/apps/phpmyadmin4.1.14/" 

Did you do that?

I had a similar problem and I just uninstalled everything again and then installed it, but this time ran the install as Administrator. That actually fixed it. Hope it helps.

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