首页 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

使用我们完全免费的人工智能换脸工具轻松在任何视频中换脸!

热工具

记事本++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教程
1663
14
CakePHP 教程
1420
52
Laravel 教程
1315
25
PHP教程
1266
29
C# 教程
1239
24
PHP和Python:解释了不同的范例 PHP和Python:解释了不同的范例 Apr 18, 2025 am 12:26 AM

PHP主要是过程式编程,但也支持面向对象编程(OOP);Python支持多种范式,包括OOP、函数式和过程式编程。PHP适合web开发,Python适用于多种应用,如数据分析和机器学习。

在PHP和Python之间进行选择:指南 在PHP和Python之间进行选择:指南 Apr 18, 2025 am 12:24 AM

PHP适合网页开发和快速原型开发,Python适用于数据科学和机器学习。1.PHP用于动态网页开发,语法简单,适合快速开发。2.Python语法简洁,适用于多领域,库生态系统强大。

PHP和Python:深入了解他们的历史 PHP和Python:深入了解他们的历史 Apr 18, 2025 am 12:25 AM

PHP起源于1994年,由RasmusLerdorf开发,最初用于跟踪网站访问者,逐渐演变为服务器端脚本语言,广泛应用于网页开发。Python由GuidovanRossum于1980年代末开发,1991年首次发布,强调代码可读性和简洁性,适用于科学计算、数据分析等领域。

PHP的影响:网络开发及以后 PHP的影响:网络开发及以后 Apr 18, 2025 am 12:10 AM

PHPhassignificantlyimpactedwebdevelopmentandextendsbeyondit.1)ItpowersmajorplatformslikeWordPressandexcelsindatabaseinteractions.2)PHP'sadaptabilityallowsittoscaleforlargeapplicationsusingframeworkslikeLaravel.3)Beyondweb,PHPisusedincommand-linescrip

PHP与Python:用例和应用程序 PHP与Python:用例和应用程序 Apr 17, 2025 am 12:23 AM

PHP适用于Web开发和内容管理系统,Python适合数据科学、机器学习和自动化脚本。1.PHP在构建快速、可扩展的网站和应用程序方面表现出色,常用于WordPress等CMS。2.Python在数据科学和机器学习领域表现卓越,拥有丰富的库如NumPy和TensorFlow。

继续使用PHP:耐力的原因 继续使用PHP:耐力的原因 Apr 19, 2025 am 12:23 AM

PHP仍然流行的原因是其易用性、灵活性和强大的生态系统。1)易用性和简单语法使其成为初学者的首选。2)与web开发紧密结合,处理HTTP请求和数据库交互出色。3)庞大的生态系统提供了丰富的工具和库。4)活跃的社区和开源性质使其适应新需求和技术趋势。

如何解决Laravel中复杂的BelongsToThrough关系问题?使用Composer可以! 如何解决Laravel中复杂的BelongsToThrough关系问题?使用Composer可以! Apr 17, 2025 pm 09:54 PM

在Laravel开发中,处理复杂的模型关系一直是个挑战,特别是当涉及到多层级的BelongsToThrough关系时。最近,我在处理一个多级模型关系的项目中遇到了这个问题,传统的HasManyThrough关系无法满足需求,导致数据查询变得复杂且低效。经过一番探索,我找到了staudenmeir/belongs-to-through这个库,它通过Composer轻松安装并解决了我的困扰。

sublime写好代码后如何运行 sublime写好代码后如何运行 Apr 16, 2025 am 08:51 AM

在 Sublime 中运行代码的方法有六种:通过热键、菜单、构建系统、命令行、设置默认构建系统和自定义构建命令,并可通过右键单击项目/文件运行单个文件/项目,构建系统可用性取决于 Sublime Text 的安装情况。

See all articles