Professional Documents
Culture Documents
Friday, 20 May 2011 03:06 - Last Updated Friday, 20 May 2011 03:09
1. Download the latest PHP version for Windows and unzip its content in a temporary folder on your hard disk. 2. When youre done, create a folder named php at the root of your hard drive (e.g.: c:php). 3. Move all the content from the extracted archive to c:php
1/5
Friday, 20 May 2011 03:06 - Last Updated Friday, 20 May 2011 03:09
text editor (no word processor). 5. Find theextension_dir parameter and set its value toc:phpext. Save the file and exit the editor. 6. Launch the registry editor:Start => Run => regedit 7. Create a new key namedPHP underHKEY_LOCAL_MACHINESOFTWARE 8. Right-click on the newly created key and selectNew => String Value 9. Name the new valueIniFilePath and set the value data toC:php 10. Click onStart => Settings => Control Panel and double-click theSystem icon (using the class view). 11. Click on theAdvanced system settings link from the left column. 12. From theSystem Properties window, click on theAdvanced tab and then on theEnviron ment Variables button at the bottom. 13. Select thePath variable from theSystem Variables section and click onEdit. Addc:ph p to your system path (be sure to include the semi-colon separator).
2/5
Friday, 20 May 2011 03:06 - Last Updated Friday, 20 May 2011 03:09
14. Click on OK until youve exited theSystem Properties window. 15. Launch the Internet Information Services Manager:Start => Programs => Administrative Tools => Internet Information Services (IIS) Manager 16. From the IIS Manager, click on your servers hostname from theConnections panel on the left. Double-click on Handler Mappings icon.
17. From theHandler Mappings actions panel, click onAdd Script Map
3/5
Friday, 20 May 2011 03:06 - Last Updated Friday, 20 May 2011 03:09
19. Enter the information to allow PHP click onAdd And CGI Restrictions your servers hostname from the left panel and double-click on :theISAPI icon. From again on 20. Click theActions panel on the rightprocessing as illustrated below and hitOK 21.
4/5
Friday, 20 May 2011 03:06 - Last Updated Friday, 20 May 2011 03:09
22. Click onyour servers actions save it the name Document on your right.document default documentright. and double-click on theDefault icon. Click onAdd shouldhostnamethe PHPtoc:inetpubwwwrootphpinfo.php with the 23. Create a new text 24. panelis 25. actions Enterindex.php in thenow see panelthe information and click on OK.Restart from the 26. following content:the servers hostname form the left panel and then click on http://your-server-name/phpinfo.php: If everything onok, you from thenew and from on left panel page at
Stay tuned for my next post on how to install MySQL 5.1 on Windows 2008.
5/5