Native: PHP 4.0 rc2-win32 Installation Guide (Chinese version)

Source: Internet
Author: User
Tags filter install php iis iis administration ini net php file zend
Chinese PHP 4.0 rc2-win32 version
===================================

System Requirements
------------

-Windows 95 or later version, Windows NT 4.0 or later
-ISAPI mode requires an ISAPI 4.0-compliant Web server (test pass on IIS 4.0)
-Windows 95 requires a newer version of DCOM, which can be obtained free of charge from the following URLs:
Http://download.microsoft.com/msdownload/dcom/95/x86/en/dcom95.exe


Installation Guide
------------

PHP's WIN32 version requires a setup file: PHP.ini. If you haven't installed a php.ini
file, please copy the php.ini-dist file in the PHP 4.0RC2 package to your Windows directory, and
Renamed PHP.ini (for example: C:\WINNT\php.ini), you can edit and modify it according to your own needs.

Unlike PHP3, PHP4 is divided into several parts.  Even when you use PHP in CGI mode, Php.exe is no longer a standalone executable component, it relies on dynamic libraries (DLLs). For this reason, if you install Php.exe as a Web server processor, you must confirm that the dynamic library file (DLLs) is in your system search path. The easiest way to do this is to copy these dynamic libraries to the System directory systems (Windows 9x) and SYSTEM32 (Windows NT). The dynamic libraries you need to copy are: MSVCRT.DLL (which may already exist in the Windows directory) and PHP4TS.DLL.

Installation Essentials on IIS 4.0
------------------------------

-Install php.ini files and dynamic libraries as described in the above steps.
-Start the Microsoft Management Console (also known as ' Internet Service Manager ').
-Open the Site properties and add the new ISAPI filter in the ' ISAPI Filters ' option. With ' PHP '
As the filter name, fill in the executable with the Php4isapi.dll and its path (for example: C:\winnt40\system32\php4isapi.dll). In the ' Home Directory ' option, click the ' Configuration ' (Configure) button to add a new entry in the application mapping, and in the Execute file ' executable ' column, fill in the Php4isapi.dll and its path,
with ". PHP" as an extension, ' method exclusions ' is not filled in, and is ticked on the Script engine.
-Stop the IIS service completely (you may need to stop the IIS administration Service-it is not very good to stop IIS simply through the management console; You can also type the command ' net stop ' in Windows ' Run command line IISAdmin ' To stop the IIS service.
-Start IIS Again (you can also type the command ' net start w3svc ' on the Windows Run command line to start).
-All right! Make a test.php file in your Web server root directory and see if it works!

test.php

<HTML>
? Php
Echo ' My PHP looks almost probably basically normal! ';
?>
</HTML>

Good luck to all of you!


Zeev <zeev@zend.com> [13/8/1999]
Andi <andi@zend.com> [19/11/1999]


even_wu@21cn.com: Sha Yu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.