| Start |
|---|
Download and Install XAMPP What is XAMPP?XAMPP is the most popular PHP development environment. XAMPP is a completely free, open-source and easy to install Apache distribution containing MariaDB, PHP, and Perl. Where should I download it from?Download appropriate stable XAMPP version from their download page. Choose the download based on the type of OS (32 or 64bit and OS version) and the PHP version it has to support. Current latest being XAMPP for Windows 7.0.8 / PHP 7.0.8. Or you can follow this: XAMPP for Windows exists in three different flavors:
How to install and where should I place my PHP/html files?Install with the provided installer
Install from the ZIP
Note: If you choose a root directory Post-InstallUse the "XAMPP Control Panel" for additional tasks, like starting/stopping Apache, MySQL, FileZilla and Mercury or installing these as services. File handlingThe installation is a straight forward process and once the installation is complete you may add html/php files to be hosted on the server in Note: Default XAMPP root in Windows is Type in one of the following URLs in your favourite web browser: Now you should see the XAMPP start page. |
| Download, Install and use WAMP WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database. Alongside, PhpMyAdmin allows you to manage easily your databases. WampServer is available for free (under GPML license) in two distinct versions : 32 and 64 bits. Wampserver 2.5 is not compatible with Windows XP, neither with SP3, nor Windows Server 2003. Older WampServer versions are available on SourceForge (opens new window). WampServer versions: Providing currently:
Installation is simple, just execute the installer, choose the location and finish it. Once that is done, you may start WampServer. Then it starts in the system tray (taskbar), initially red in color and then turns green once the server is up. You may goto a browser and type localhost or 127.0.0.1 to get the index page of WAMP.
You may work on PHP locally from now by storing the files in |
| Install PHP and use it with IIS First of all you need to have IIS (Internet Information Services) installed and running on your machine; IIS isn't available by default, you have to add the characteristic from Control Panel -> Programs -> Windows Characteristics.
Optionally you can install the PHP Manager for IIS (opens new window) which is of great help to setup the ini file and track the log of errors (doesn't work on Windows 10). Remember to set If you followed the installation guide now you are ready to test PHP. Just like Linux, IIS has a directory structure on the server, the root of this tree is Now use your favorite editor, or just Windows Notepad, and type the following: Save the file under Then open your brand new website using your browser on this address: http://localhost/index.php (opens new window) RemarksHTTP services normally run on port 80, but if you have some application installed like Skype which also utilizes port 80 then it won't start. In that case you need to change either its port or the port of the conflicting application. When done, restart the HTTP service. |
Read Article
https://develop.horje.com/learn/1434/reference