configuring Wamp server:
whenever You install a local server You have to configure it work it right to work perfectly on your environment.And so configuring it properly could enable to work with apps like MYSQL database and Sqlite databases.
1) After installing the Ad-on packages such as sql,apache,php.please restart the server on your notification area.
Success: if you are in right path the colour of the notification will turn Green From orange.
click here to view the output screen
2) After the installation,Check out that You are able to view the localhost welcome page using the link http://localhost/
click here to view the output screen
note:If you are using windows 7 ,then there might me already IIS may be using the port of the localhost :80
so no problem just try other ports such as http://localhost:8080/
Success: you might get the below image screen and this may take You to start your web apps such as mysql database ,sqlite database and webgrind.
3)then configuring Mysql database.Many starters struggles here beacause they dont know the default password for the mysql database.
but :) generally there is no password for this database after the fresh installation.so try to quickly access and change your password.
steps: a)open http://localhost:(corresspondong port number)/phpmyadmin/
click here to view the output
b)then You will be prompted for the username and password.if you are very first time to use phpmyadmin in wamp server then the username is root & password is nothing.
just login and at the start up you will asked to change the password for the root user.
click here to view the output
c)You may get problems like AllowNoPassword password required.in this case go to c:\wamp\apps\phpmyadmin(your version)\config.inc.php
open the file and search for this sentence "$cfg['Servers'][$i]['AllowNoPassword'] = false;"
change it into.
$cfg['Servers'][$i]['AllowNoPassword'] = true;
4) To enable your localhost from other port just use the notepad to edit your
httpd.conf file (located at shortcut menu of apache.)
open it just search for the line "onlineoffline tag - don't remove"
below that just add up "Allow from all" below "Order Allow,Deny"
and search for "#Listen 12.34.56.78:80" and just add up corresponding port thet you have selected
example:
#Listen 12.34.56.78:80
Listen 8080
5)usage of .htaccess in your localserver is possible after editing your httpd.conf file
open the same httpd.conf file near apache shortcut menu
open it just search for the line "#LoadModule rewrite_module modules/mod_rewrite.so" and replace it to "LoadModule rewrite_module modules/mod_rewrite.so"
just remove the hash sign.
now your wamp server is ready to start your projects.just enjoy.incase of doubts ask as comments. request tutorials using comments.
-s.shivasurya.
0 comments:
Post a Comment