Friday, 18 December 2015

How to install wamp on windows 8

Download a copy of  WAMP


First you will  need to download WAMP fromhttp://www.wampserver.com/en/download.php . You will have the option to choose either the  32-bit or 64-bit version your choice depends upon your computer’s configuration.

Install the software

Once you the download has completed   you will need to  launch it to start the installation process.
wamp
When you click next you will be asked to accept the license agreement. Basically it’s a GPL license you are free to do just about anything with it so you can go ahead and accept it.

The next step is to select  where you would like to install  WAMP . The default will be c:wamphowever you can change to which ever  directory or partition you choose that please you & php training institute
directory
Chose where to install the software
After you choose your directory you will have the option to setup icons. If you noticed only one option is selected but you can select the best option for you.
icons
Once you decide on this click Next and then confirm the installation settings again by clickingInstall.
install
Once the installation finish installing its files WAMP will dectect which is your default browser at the moment but you can select no and navigate your way to any other browser of your choosing.
default

NB – if your Windows firewall pops up at this point make sure to grant Apache access.
firewall
The next decision you will have to make is to set the PHP mail parameters. Most people leave this set to the defaults when setting up a testing server on their local computer. If you wish to configure it to connect to a  SMTP server you may do so now  all you need to do is click Next.
mail
Congrats  WAMP is now installed on your  computer.

Testing

Now that everything has been installed let’s test everything out.
Using one of the icons you created, or Start –> start WampServer, you can launch the management console. Once opened, it will appear in the lower right hand corner of your screen.
launch
If WAMP is not started go ahead and click Start All Services. If you are not sure whether or not WAMP is running, look for the small green W icon in your toolbar.
running
If it is red, WAMP services are stopped, green means everything is running while orange means some services are running.
stoppedall services not running
Now its time to check  if everything was installed correctly. In the WAMP management console, click on Localhost. If you see the following screen pop up in your browser then everything is working but you only need to edit a few files to access WAMP via the http://localhost link.

forbidden

Open the WAMP management console highlight Apache then click on httpd.conf
localhost_fix

From the text editor find the line “Allow from 127.0.0.1” and add  “Allow from ::1” below it now save the file and close it.
Then next step is to restart all services  go to the WAMP management console and click restart all services after WAMP has restarted all the services reopen your web browser if you closed it to http://localhost or just reload the page .If you see the following screen you did everything right so far now for the finishing touches .

localhost_works
Since you are on Windows 7 or 8 then Apache might be seeing the connections coming from “::1” which is the IPv6 equivalent of 127.0.0.1. so you’ll have to change a few settings for you to access phpmyadmin, sqlbuddy &  webgrind.
PhpmyAdmin
Open the  WAMP management console highlight Apache followed by Alias directories select the http://localhost/phpmyadmin option then edit alias.From the text editor find the line “Allow from 127.0.0.1” and add  “Allow from ::1” below it now save the file and close it.
phpmyadmin_alias

Do the same steps for fixing sqlbuddy and webgrind. Once you’re done open WAMP management console and click restart all services

Configuring phpMyAdmin

The last step is to set a password for phpMyAdmin. Many people skip this step because the server is not going to be live so they don’t see the need to protect the database if it is only sample data. You can decide what practice to follow.
In order to change the password you will need to navigate to your phpMyAdmin file, located at C:/wamp/apps/phpmyadmin3.x.x and open the config.inc.php file for editing.
Once opened, navigate to the lines that read,
Where the example reads xxxxx insert your password. Under AllowNoPassword, change the value to false.

What do I do next?

Now that everything is completed you can upload test websites to your root or even install third-party web applications like WordPress, Moodle, Drupal, etc. to this location. You now have a sandbox in which to work on your development projects! Have fun with it.
To get further training in php : php training in jaipur