PHP runs on the server side. But you certainly want to encode PHP on your computer and instantly see the results of changes you can make to your PHP scripts!
Do not worry, you will not need to invest in a remote server for that. I'll show you how to install Wampserver. Wampserver is software that contains a package of different things:
- Apache: the web server. He will return pages (X) HTML, files, etc. ...
- PHP: it communicates with apache and can handle PHP pages. It will return pages PHP treated apache which refers to the client.
- MySQL: it is a management system database. We discuss below what a database.
- PHPMyAdmin: You can go through PHPMyAdmin have an interface for managing your databases much more ergonomic than the console.
All these things will be installed automatically when you install WAMP (Windows Apache MySQL PHP).
Install WAMP
WAMP installer is very easy, just be guided by clicking on Next when you are told. First, download WAMP on the official website at: http://www.wampserver.com/en/ Then run the archive you just downloaded. A window of this style appears:
Click Next, then you're asked to accept the license agreement. Accept it and then click Next again.
Choose a directory in which you install WAMP then click Next. Installation is then you can close the window and then start WAMP.
If all goes well, you should see a small symbol at the bottom right of your taskbar, white symbol.
If this symbol has a white background here is perfect. If the background is yellow or red, it means that services are not installed correctly, or they could not start. When in doubt, restart WAMP after leaving proper (right click, exit).
WAMP Once installed, you can consult its default home page (conducted in PHP). To do so, start your Web browser and type in the address bar this: http://localhost. A page loads:
Bookmarks