土特产:PHP 4.0 RC2
中文
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
Andi
翻译:沙雨 even_wu@21cn.com

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











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.

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.

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

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.

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.

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.

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.

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.
