I want to install php in my system.For this I have downloaded the php-5.3.5.tar.bz2 (zip file). Now from this installation help link http://www.php.net/manual/en/install.wi
MSI is a standard component of Windows. Download the MSI file, then just double click on that file and it will automatically run and install PHP.
First: go to www.php.net and click on downloads, or go directly to http://www.php.net/downloads.php
http://windows.php.net/download
Choose the latest PHP x.y.z (Current stable)
For IIS, download the non-threadsafe zip file
Extract the downloaded zip file to c:\PHP
Download PHP-Manager for IIS 7 (that's an IIS-controlpanel-extension, also works for IIS 8) from https://github.com/phpmanager/phpmanager/releases (make sure you choose the right bitness (32 vs. 64)
Open the IIS management console (inetmgr.exe)
Double-click PHP-Manager and click on "register new PHP installation"
(note to self: never remove the PHP directory, otherwise "rien ne va plus")
<?php
phpinfo(); // Show all information, defaults to INFO_ALL
?>
Create a new file called hello.php in c:\inetpub\wwroot with this content
<?php echo "Hello World !" ; ?>
10. open cmd.exe and execute "iisreset"
http://localhost/phpinfo.php
http://localhost/helloworld.php
Now IIS is (should be) serving PHP.
As far as I can see there are no MSI installers for PHP 5.4.x available from http://windows.php.net/
Additionally, since PHP 5.3 there are no MSI installers available that work together with the binaries from apache.org and you have to use the binaries from http://www.apachelounge.com/
Late to the party here but according to the readme (install.txt) that comes with php 5.5:
There are several all-in-one installers over the Internet, but none of those are endorsed by PHP.net, as we believe that the manual
installation is the best choice to have your system secure and
optimised.