Home Backend Development PHP Tutorial 土特产:PHP4.0RC2-Win32安装指南(中文版)_PHP

土特产:PHP4.0RC2-Win32安装指南(中文版)_PHP

Jun 01, 2016 pm 12:35 PM
iis php windows Chinese Version Install guide document

PHP 4.0 RC2 - Win32 版本
===================================

系统要求
------------

- Windows 95 或以后版本, Windows NT 4.0 或以后版本
- ISAPI 模式要求ISAPI 4.0 兼容的WEB服务器 (在IIS 4.0上测试通过)
- Windows 95 要求更新版本的DCOM, 可以免费从以下网址得到:
    http://download.microsoft.com/msdownload/dcom/95/x86/en/dcom95.exe


安装指南
------------

PHP的 Win32 版本要求有一个设置文件:php.ini。如果你还没有安装一个PHP.INI
文件的话,请拷贝PHP 4.0RC2软件包中的php.ini-dist文件到你的Windows目录,并
更名为php.ini(比如:C:\WINNT\php.ini),你可以根据自身需要编辑和修改它。

与PHP3不同, PHP4分成几个部件。甚至当你在CGI模式使用PHP时, php.exe也不再是一个独立可执行的部件, 它还要依赖动态库(DLLs).  因为这个原因, 如果你安装php.exe作为一个web server处理器,你必须确认动态库文件(DLLs) 在你的系统搜索路径里。做到这一点,最简单的办法就是拷贝这些动态库到系统目录SYSTEM (Windows 9x)和 SYSTEM32 (Windows NT)。你所需要拷贝的动态库是:MSVCRT.DLL (可能Windows目录中已经存在)和PHP4TS.DLL。

在IIS 4.0上的安装要领
------------------------------

- 按上述步骤安装php.ini文件和动态库。
- 启动Microsoft Management Console (也称为 'Internet Service Manager')。
- 打开站点属性,在 'ISAPI Filters'选项中, 增加新的ISAPI filter. 用 'PHP'
  作为filter名称,在executable中填入php4isapi.dll及其路径  (如:c:\winnt40\system32\php4isapi.dll)。在 'Home Directory'选项中,点 'Configuration'(配置)按钮,在应用程序映射中增加新的一项;在执行文件'Executable'栏目中,填入php4isapi.dll及其路径,
  用" .php"作为扩展名,  'Method exclusions'一项不填, 并在"Script engine"上打勾。
- 完全停止IIS服务 (你可能需要停止IIS Administration service - 仅仅通过Management Console来停止IIS不是非常好;你也可以在Windows的运行命令行里键入命令'net stop iisadmin'来停止IIS服务。
- 再次启动IIS(你也可以在Windows的运行命令行里键入命令 'net start w3svc' 来启动)。
- 好了!做一个test.php文件放在你的WEB 服务器根目录然后看它是否工作!

test.php


echo '我的PHP好象差不多大概基本可能很正常!';
?>


祝各位好运!


Zeev [13/8/1999]
Andi [19/11/1999]


翻译:沙雨 even_wu@21cn.com

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Can I install mysql on Windows 7 Can I install mysql on Windows 7 Apr 08, 2025 pm 03:21 PM

Yes, MySQL can be installed on Windows 7, and although Microsoft has stopped supporting Windows 7, MySQL is still compatible with it. However, the following points should be noted during the installation process: Download the MySQL installer for Windows. Select the appropriate version of MySQL (community or enterprise). Select the appropriate installation directory and character set during the installation process. Set the root user password and keep it properly. Connect to the database for testing. Note the compatibility and security issues on Windows 7, and it is recommended to upgrade to a supported operating system.

The Future of PHP: Adaptations and Innovations The Future of PHP: Adaptations and Innovations Apr 11, 2025 am 12:01 AM

The future of PHP will be achieved by adapting to new technology trends and introducing innovative features: 1) Adapting to cloud computing, containerization and microservice architectures, supporting Docker and Kubernetes; 2) introducing JIT compilers and enumeration types to improve performance and data processing efficiency; 3) Continuously optimize performance and promote best practices.

Unable to access mysql from terminal Unable to access mysql from terminal Apr 08, 2025 pm 04:57 PM

Unable to access MySQL from the terminal may be due to: MySQL service not running; connection command error; insufficient permissions; firewall blocks connection; MySQL configuration file error.

PHP vs. Python: Understanding the Differences PHP vs. Python: Understanding the Differences Apr 11, 2025 am 12:15 AM

PHP and Python each have their own advantages, and the choice should be based on project requirements. 1.PHP is suitable for web development, with simple syntax and high execution efficiency. 2. Python is suitable for data science and machine learning, with concise syntax and rich libraries.

How to solve mysql cannot connect to local host How to solve mysql cannot connect to local host Apr 08, 2025 pm 02:24 PM

The MySQL connection may be due to the following reasons: MySQL service is not started, the firewall intercepts the connection, the port number is incorrect, the user name or password is incorrect, the listening address in my.cnf is improperly configured, etc. The troubleshooting steps include: 1. Check whether the MySQL service is running; 2. Adjust the firewall settings to allow MySQL to listen to port 3306; 3. Confirm that the port number is consistent with the actual port number; 4. Check whether the user name and password are correct; 5. Make sure the bind-address settings in my.cnf are correct.

PHP's Current Status: A Look at Web Development Trends PHP's Current Status: A Look at Web Development Trends Apr 13, 2025 am 12:20 AM

PHP remains important in modern web development, especially in content management and e-commerce platforms. 1) PHP has a rich ecosystem and strong framework support, such as Laravel and Symfony. 2) Performance optimization can be achieved through OPcache and Nginx. 3) PHP8.0 introduces JIT compiler to improve performance. 4) Cloud-native applications are deployed through Docker and Kubernetes to improve flexibility and scalability.

PHP: Is It Dying or Simply Adapting? PHP: Is It Dying or Simply Adapting? Apr 11, 2025 am 12:13 AM

PHP is not dying, but constantly adapting and evolving. 1) PHP has undergone multiple version iterations since 1994 to adapt to new technology trends. 2) It is currently widely used in e-commerce, content management systems and other fields. 3) PHP8 introduces JIT compiler and other functions to improve performance and modernization. 4) Use OPcache and follow PSR-12 standards to optimize performance and code quality.

PHP and Python: Comparing Two Popular Programming Languages PHP and Python: Comparing Two Popular Programming Languages Apr 14, 2025 am 12:13 AM

PHP and Python each have their own advantages, and choose according to project requirements. 1.PHP is suitable for web development, especially for rapid development and maintenance of websites. 2. Python is suitable for data science, machine learning and artificial intelligence, with concise syntax and suitable for beginners.

See all articles