Home php教程 php手册 土特产:PHP 4.0 RC2

土特产:PHP 4.0 RC2

Jun 21, 2016 am 09:13 AM
iis nbsp php windows

中文

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks 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)

Hot Topics

Java Tutorial
1673
14
PHP Tutorial
1278
29
C# Tutorial
1257
24
What happens if session_start() is called multiple times? What happens if session_start() is called multiple times? Apr 25, 2025 am 12:06 AM

Multiple calls to session_start() will result in warning messages and possible data overwrites. 1) PHP will issue a warning, prompting that the session has been started. 2) It may cause unexpected overwriting of session data. 3) Use session_status() to check the session status to avoid repeated calls.

Composer: Aiding PHP Development Through AI Composer: Aiding PHP Development Through AI Apr 29, 2025 am 12:27 AM

AI can help optimize the use of Composer. Specific methods include: 1. Dependency management optimization: AI analyzes dependencies, recommends the best version combination, and reduces conflicts. 2. Automated code generation: AI generates composer.json files that conform to best practices. 3. Improve code quality: AI detects potential problems, provides optimization suggestions, and improves code quality. These methods are implemented through machine learning and natural language processing technologies to help developers improve efficiency and code quality.

What is the significance of the session_start() function? What is the significance of the session_start() function? May 03, 2025 am 12:18 AM

session_start()iscrucialinPHPformanagingusersessions.1)Itinitiatesanewsessionifnoneexists,2)resumesanexistingsession,and3)setsasessioncookieforcontinuityacrossrequests,enablingapplicationslikeuserauthenticationandpersonalizedcontent.

How to handle high DPI display in C? How to handle high DPI display in C? Apr 28, 2025 pm 09:57 PM

Handling high DPI display in C can be achieved through the following steps: 1) Understand DPI and scaling, use the operating system API to obtain DPI information and adjust the graphics output; 2) Handle cross-platform compatibility, use cross-platform graphics libraries such as SDL or Qt; 3) Perform performance optimization, improve performance through cache, hardware acceleration, and dynamic adjustment of the details level; 4) Solve common problems, such as blurred text and interface elements are too small, and solve by correctly applying DPI scaling.

H5: Key Improvements in HTML5 H5: Key Improvements in HTML5 Apr 28, 2025 am 12:26 AM

HTML5 brings five key improvements: 1. Semantic tags improve code clarity and SEO effects; 2. Multimedia support simplifies video and audio embedding; 3. Form enhancement simplifies verification; 4. Offline and local storage improves user experience; 5. Canvas and graphics functions enhance the visualization of web pages.

How to use MySQL functions for data processing and calculation How to use MySQL functions for data processing and calculation Apr 29, 2025 pm 04:21 PM

MySQL functions can be used for data processing and calculation. 1. Basic usage includes string processing, date calculation and mathematical operations. 2. Advanced usage involves combining multiple functions to implement complex operations. 3. Performance optimization requires avoiding the use of functions in the WHERE clause and using GROUPBY and temporary tables.

How to uninstall MySQL and clean residual files How to uninstall MySQL and clean residual files Apr 29, 2025 pm 04:03 PM

To safely and thoroughly uninstall MySQL and clean all residual files, follow the following steps: 1. Stop MySQL service; 2. Uninstall MySQL packages; 3. Clean configuration files and data directories; 4. Verify that the uninstallation is thorough.

What are the cross-platform development environments in C? What are the cross-platform development environments in C? Apr 28, 2025 pm 09:24 PM

Cross-platform development in C is recommended to use VisualStudioCode, CLion and QtCreator. 1. VisualStudioCode is lightweight and flexible, suitable for multi-platform development, but the initial configuration is more complicated. 2. CLion integrates CMake, suitable for cross-platform projects, but licenses are expensive. 3.QtCreator supports cross-platform development, with built-in Qt library, but the learning curve is steep.

See all articles