首頁 php教程 php手册 PHP 4.04 在window/nt/2000下各种服务器的安装方法(1)

PHP 4.04 在window/nt/2000下各种服务器的安装方法(1)

Jun 21, 2016 am 09:01 AM
ini php the windows your

 

Extensions
----------
MySQL, ODBC, FTP, Calendar, BCMath, COM, PCRE, Session, WDDX and XML support is *built-in*.
You don't need to load any additional extensions in order to use these functions.

这些服务是内置的,你不必为使用这些函数而调入扩展模块

Installtion instructions
------------------------
安装介绍

Apache:
1. Stop the Apache Webserver.

停止 Apache 服务器

Edit the httpd.conf and put in these lines, modified to your environment:

编辑 http.conf 加上这些行,更改你的环境

2. Unzip the Package to c:php, now move php4ts.dll to the windows/system(32) directory, overwritte any older file!

展开压缩包到 c:php, php4ts.dll 移动到 windows/system(32)目录下面,覆盖任何老的文件

# for the apache module

用于 apache 模块方式

LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php4

#for the cgi binary (you can use that one compiled with force cgi redirect too)

用于 cgi 方式

ScriptAlias /php4/ "C:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php

3.
Copy the php.ini-dist to your sysroot (directory where you installed windows), rename it to php.ini, and
edit the php.ini to fit your needs.

复制 php.ini-dist 到你的系统目录(安装 windows 的目录),改名字为 php.ini,同时编辑 php.ini 为你需要的配置

4. Restart the Apache server.

重新启动 Apache 服务器



------------------------------------------------------------------------------------------




Oreilly Wesite Pro:
1. First make sure that you got atleast Version 2.5

确认你得到的是 alleast 2.5 版本

2. Edit the Server Properties and select the tab "Mapping"

编辑服务器属性,选择 Mapping

3. From the List select "Associations" and enter the desired extension (".php") and the path to the cgi exe or the isapi dll

从列表中选择 关联("Associations"),输入想要的扩展名(.php) cgi 方式的 exe 或者 isap 方式的 dll 文件路径

4. Now select "Content Types" add the same extension ".php" and enter the contenttype:

选择 内容类型("Content Types")加入相同的扩展名 .php 输入内容类型

cgi wwwserver/shellcgi
isapi wwwserver/isapi

5. Copy the php.ini-dist to your Systemroot (Directory where you installed windows), rename it to php.ini, and
edit it to fit your needs.

复制 php.ini-dist 到你的系统目录(安装 windows 的目录),改名字为 php.ini,同时编辑 php.ini 为你需要的配置

6. Edit the php.ini to fit your needs. //
此句重复:紫竹注释



------------------------------------------------------------------------------------------



Xitami:
1. Copy the php.ini-dist to your Systemroot (Directory where you installed windows), rename it to php.ini, and
edit it to fit your needs.

复制 php.ini-dist 到你的系统目录(安装 windows 的目录),改名字为 php.ini,同时编辑 php.ini 为你需要的配置

2. Make sure the webserver is running, and point your browser to xitamis admin console (usually http://127.0.0.1/admin), and click on Configuration

确认web服务器在运行,指向你的 xitamis 管理控制台(通常是http://127.0.0.1/admin),点击配置

3. Now navigate to the Filters, and put the extension which php should parse (i.e. .php) into the field File extensions (.xxx)

转到过滤器,在扩展名域里加入你想要解析的扩展名( .php)

4. In Filter command or script put the path and name of your php executable i.e. c:phpphp.exe

在过滤器命令或脚本处写入 php 执行文件路径名(c:phpphp.exe)

5. Press the 'Save' icon

保存

IIS 4.0+ (isapi):
1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), rename it to php.ini, and
edit it to fit your needs

复制 php.ini-dist 到你的系统目录(安装 windows 的目录),改名字为 php.ini,同时编辑 php.ini 为你需要的配置

2. Start the Microsoft Management Console or the Internet Services Manager, located in your Control Panel

运行控制面版里面 控制台管理或IIS服务管理程序,

3. Click on your webserver, and select properties

选择 web 服务器,选择属性

4. If you don't want to perform HTTP Authentication using PHP, you can (and should) skip this step. Under ISAPI Filters,
add a new ISAPI filter. Use PHP as the filter name, and supply a path to the php4isapi.dll

如果你不想执行使用PHP HTTP 证明,你可以跳过这一步。在 ISAPI 过滤器下面增加一个新的ISAPI过滤器。



本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

Video Face Swap

Video Face Swap

使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

<🎜>:泡泡膠模擬器無窮大 - 如何獲取和使用皇家鑰匙
3 週前 By 尊渡假赌尊渡假赌尊渡假赌
北端:融合系統,解釋
3 週前 By 尊渡假赌尊渡假赌尊渡假赌
Mandragora:巫婆樹的耳語 - 如何解鎖抓鉤
3 週前 By 尊渡假赌尊渡假赌尊渡假赌

熱工具

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發環境

Dreamweaver CS6

Dreamweaver CS6

視覺化網頁開發工具

SublimeText3 Mac版

SublimeText3 Mac版

神級程式碼編輯軟體(SublimeText3)

熱門話題

Java教學
1666
14
CakePHP 教程
1425
52
Laravel 教程
1328
25
PHP教程
1273
29
C# 教程
1253
24
IIS和PHP的兼容性:深度潛水 IIS和PHP的兼容性:深度潛水 Apr 22, 2025 am 12:01 AM

IIS和PHP可以兼容,通過FastCGI實現。 1.IIS通過配置文件將.php文件請求轉發給FastCGI模塊。 2.FastCGI模塊啟動PHP進程處理請求,提高性能和穩定性。 3.實際應用中需注意配置細節、錯誤調試和性能優化。

如果session_start()被多次調用會發生什麼? 如果session_start()被多次調用會發生什麼? Apr 25, 2025 am 12:06 AM

多次調用session_start()會導致警告信息和可能的數據覆蓋。 1)PHP會發出警告,提示session已啟動。 2)可能導致session數據意外覆蓋。 3)使用session_status()檢查session狀態,避免重複調用。

怎樣在C  中處理高DPI顯示? 怎樣在C 中處理高DPI顯示? Apr 28, 2025 pm 09:57 PM

在C 中處理高DPI顯示可以通過以下步驟實現:1)理解DPI和縮放,使用操作系統API獲取DPI信息並調整圖形輸出;2)處理跨平台兼容性,使用如SDL或Qt的跨平台圖形庫;3)進行性能優化,通過緩存、硬件加速和動態調整細節級別來提升性能;4)解決常見問題,如模糊文本和界面元素過小,通過正確應用DPI縮放來解決。

作曲家:通過AI的幫助開發PHP 作曲家:通過AI的幫助開發PHP Apr 29, 2025 am 12:27 AM

AI可以幫助優化Composer的使用,具體方法包括:1.依賴管理優化:AI分析依賴關係,建議最佳版本組合,減少衝突。 2.自動化代碼生成:AI生成符合最佳實踐的composer.json文件。 3.代碼質量提升:AI檢測潛在問題,提供優化建議,提高代碼質量。這些方法通過機器學習和自然語言處理技術實現,幫助開發者提高效率和代碼質量。

session_start()函數的意義是什麼? session_start()函數的意義是什麼? May 03, 2025 am 12:18 AM

session_start()iscucialinphpformanagingusersessions.1)ItInitiateSanewsessionifnoneexists,2)resumesanexistingsessions,and3)setsasesessionCookieforContinuityActinuityAccontinuityAcconActInityAcconActInityAcconAccRequests,EnablingApplicationsApplicationsLikeUseAppericationLikeUseAthenticationalticationaltication and PersersonalizedContentent。

怎樣卸載MySQL並清理殘留文件 怎樣卸載MySQL並清理殘留文件 Apr 29, 2025 pm 04:03 PM

要安全、徹底地卸載MySQL並清理所有殘留文件,需遵循以下步驟:1.停止MySQL服務;2.卸載MySQL軟件包;3.清理配置文件和數據目錄;4.驗證卸載是否徹底。

H5:HTML5的關鍵改進 H5:HTML5的關鍵改進 Apr 28, 2025 am 12:26 AM

HTML5帶來了五個關鍵改進:1.語義化標籤提升了代碼清晰度和SEO效果;2.多媒體支持簡化了視頻和音頻嵌入;3.表單增強簡化了驗證;4.離線與本地存儲提高了用戶體驗;5.畫布與圖形功能增強了網頁的可視化效果。

如何使用MySQL的函數進行數據處理和計算 如何使用MySQL的函數進行數據處理和計算 Apr 29, 2025 pm 04:21 PM

MySQL函數可用於數據處理和計算。 1.基本用法包括字符串處理、日期計算和數學運算。 2.高級用法涉及結合多個函數實現複雜操作。 3.性能優化需避免在WHERE子句中使用函數,並使用GROUPBY和臨時表。

See all articles