PHP5 manual simplest installation method Li Liang system Requirements WIN2000 Advanced Serveriis5.0PHP5RC2 The first step is of course first to be from http://cn.php.net/get/php-5.0.3-win32.zip/from/a/mirror The upper and lower php-5.0.3-win32.zip came back. The occasional pHP-5.0.3rc2-win32.zip is actually less than the PHP-5.0.3-win32.zip, but it is not at all, but it is prepared for IIS4 below. Oh, it is still nonsense. The second step is unzipped to any directory, such as N: /imp/php/php5.0.3 but do not have spaces in the directory name to avoid some small trouble. Setting the directory like E: / program files / PHP is very good. Oh, I have been talking. The third step adds the name of the directory you just decompressed to the system environment variable path. Don't know the system environment variable? faint! Desktop -> My Computer -> Mouse -> Properties -> Advanced -> System Variables -> Path-> Edit -> In the final face, the semicolon; directory name (for example: n: /imp/php/php5.0.3 )->determine. The fourth step in the directory just added to the PATH, found php.ini-dist or php.ini-recommended renamed PHP. INI cut into the system directory C: / Winnt. Use the next one, save yourself to set up a lot of things. The fifth step is connected to the PHP to confirm that IIS5.0 is working properly. Open Internet Service Manager (Run-> inetmgr-> In you want to connect to PHP website or default website site -> Click the mouse button -> Properties -> Home -> Configuration -> Application Mapping -> Add - -> Executable File -> PHP5isapi.dll-> extension in your php directory -> PHP (PHP3 PHTML) -> All Action or Limited to (Option, Get, Post, Head ... you add) -> Hook Check the script engine -> 选 检查 文件 文件 -> OK -> ISAPI Filter -> Add -> Filter Name -> PHP -> Executable File -> Your PHP Directory PHP5ISAPI.DLL -> OK -> Main Directory -> Hook Script Resource Access -> Perform License -> Script and Executable Programs. Properties -> Document -> Enable Default Document -> Add - > Index.php Get. Connecting PHP to CGI mode In the main directory add application map to php.exe file suffix for PHP, if you want to support multiple suffixes, repeat it. Pay attention to application when installing The path of the mapping, otherwise the following error message will appear. CGI Timeoutthe Specified CGI Application ExceEDeded Time for Process. The Server Has Deleted Time For Process. The path should be added to "% s"% s such as you PHP.exe's path is n: /imp/php/php5.0.3/php.exe to write n: /imp/php/php5.0.3/php when writing to the application mapping -> executable file. EXE "% s"% s is so awkward, I don't know if I sell a car.
The CGI interface is black in white. Safety is not optimistic. So what way is it or you?
Don't forget to restart IIS Oh. Run -> Net Stop Iisadminnet Start W3SVC By the way, several programs running under CMDinetMgrCompMgmt huh. Focus, a lot
The sixth step is written in a test page, that is, the page containing the PHP script.
phpecho 'current php version:'. phpversion (); phpinfo (); PHPINFO (Info_Modules);> Saved to INDEX.PHP to put it in the main directory you just connected to the PHP website. View this page in your browser. For example, http: // localhost / seventh step Install additional plug-in (extension) See http://cn2.php.net/manual/en/installation.php#install.General. In fact, I am too lazy, I don't want to write. Or write free to write next time, I wrote that I can't write, some places. I also changed next time. correct! Remember the big name of the doll when reproduced. Copyright. Haha. Still modest. What is wrong or don't know how to be 522000 @@. Net occasionally. However, even if you don't want to see, the second @ is replaced with CITIZ. I don't want garbage to full box.