When you installed your wamserver in your windows8 Pc & tried accessing localhost you may gone through an error like this.
Inorder to resolve this problem, please follow the following steps.
1) Click on the wampserver tray icon. From it click on Apache-> htppd.conf
Open the file in edit mode then.
Find these lines
Change it to
3)Now your server will be working. But when you try to access the phpmyadmin,it will show error.
So inorder to rectify it, we have to make changes in phpmyadmin config file. So for this :-
explore to \wamp\alias\phpmyadmin.conf
Open this file and find this code
<Directory "c:/wamp/apps/phpmyadmin3.4.10.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
change it to
Now you can see that everything is working fine..
Inorder to resolve this problem, please follow the following steps.
1) Click on the wampserver tray icon. From it click on Apache-> htppd.conf
Open the file in edit mode then.
Find these lines
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
Change it to
<Directory />
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>
2)Find another line in the same file
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
change it as
# onlineoffline tag - don't remove
Order Deny,Allow
Allow from all
Allow from 127.0.0.1
3)Now your server will be working. But when you try to access the phpmyadmin,it will show error.
So inorder to rectify it, we have to make changes in phpmyadmin config file. So for this :-
explore to \wamp\alias\phpmyadmin.conf
Open this file and find this code
<Directory "c:/wamp/apps/phpmyadmin3.4.10.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
change it to
<Directory "D:/Server/wamp/apps/phpmyadmin3.4.10.1/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Allow from all</Directory>
Now you can see that everything is working fine..
No comments:
Post a Comment