Friday, December 31, 2010

PHP enable in IIS7 (64bit)

 Just brought a new laptop with OS win7 pro 64bit. Found that php is release version is 32bit only. After an hour searching in the web, finally I found that solution to overcome the installation.

1. I go to php official website ( download the version php-5.2.16-nts-Win32-VC6-x86.msi.

2. After completed download, then install the php.
3. Select the IIS Fast CGI (Common Gateway Interface )
4. But it may prompt out the error message that you need go to server manager install the CGI 1st.For windows 7 pro (64bit) you goto control panel > Programs and features > Turn Windows Features on or off, then select the CGI under the Internet Information Services >world wide web service > Application Development Features>CGI (checked). If you are others OS, you can come to this website

5. How to check is the PHP working in your PC. Open the notepad, NEW->
type in the like below. Save you file as "info.php" extension.

6. Copy the info.php to this folder path C:\inetpub\wwwroot
7. Then open web browser type in the URL http://localhost/info.php , if you success install the php, you will get the scence like below.

No comments:

Post a Comment

Your comments is appreciate.