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으로 문의하세요.

뜨거운 기사 태그

메모장++7.3.1

메모장++7.3.1

사용하기 쉬운 무료 코드 편집기

SublimeText3 중국어 버전

SublimeText3 중국어 버전

중국어 버전, 사용하기 매우 쉽습니다.

스튜디오 13.0.1 보내기

스튜디오 13.0.1 보내기

강력한 PHP 통합 개발 환경

드림위버 CS6

드림위버 CS6

시각적 웹 개발 도구

SublimeText3 Mac 버전

SublimeText3 Mac 버전

신 수준의 코드 편집 소프트웨어(SublimeText3)

Ubuntu 및 Debian용 PHP 8.4 설치 및 업그레이드 가이드 Ubuntu 및 Debian용 PHP 8.4 설치 및 업그레이드 가이드 Dec 24, 2024 pm 04:42 PM

Ubuntu 및 Debian용 PHP 8.4 설치 및 업그레이드 가이드

Bybit Exchange의 최신 버전을 업데이트하는 방법은 무엇입니까? 업데이트되지 않으면 영향이 있습니까? Bybit Exchange의 최신 버전을 업데이트하는 방법은 무엇입니까? 업데이트되지 않으면 영향이 있습니까? Feb 21, 2025 pm 10:54 PM

Bybit Exchange의 최신 버전을 업데이트하는 방법은 무엇입니까? 업데이트되지 않으면 영향이 있습니까?

DeepSeek 웹 버전 입구 DeepSeek 공식 웹 사이트 입구 DeepSeek 웹 버전 입구 DeepSeek 공식 웹 사이트 입구 Feb 19, 2025 pm 04:54 PM

DeepSeek 웹 버전 입구 DeepSeek 공식 웹 사이트 입구

DeepSeek을 설치하는 방법 DeepSeek을 설치하는 방법 Feb 19, 2025 pm 05:48 PM

DeepSeek을 설치하는 방법

PI 노드 교육 : PI 노드 란 무엇입니까? Pi 노드를 설치하고 설정하는 방법은 무엇입니까? PI 노드 교육 : PI 노드 란 무엇입니까? Pi 노드를 설치하고 설정하는 방법은 무엇입니까? Mar 05, 2025 pm 05:57 PM

PI 노드 교육 : PI 노드 란 무엇입니까? Pi 노드를 설치하고 설정하는 방법은 무엇입니까?

PHP 개발을 위해 Visual Studio Code(VS Code)를 설정하는 방법 PHP 개발을 위해 Visual Studio Code(VS Code)를 설정하는 방법 Dec 20, 2024 am 11:31 AM

PHP 개발을 위해 Visual Studio Code(VS Code)를 설정하는 방법

PHP에서 HTML/XML을 어떻게 구문 분석하고 처리합니까? PHP에서 HTML/XML을 어떻게 구문 분석하고 처리합니까? Feb 07, 2025 am 11:57 AM

PHP에서 HTML/XML을 어떻게 구문 분석하고 처리합니까?

Coinsuper Exchange 소프트웨어 채널 공식 웹 사이트 입구 Coinsuper Exchange 소프트웨어 채널 공식 웹 사이트 입구 Feb 21, 2025 pm 10:39 PM

Coinsuper Exchange 소프트웨어 채널 공식 웹 사이트 입구

See all articles