search
HomeBackend DevelopmentPHP TutorialApache2.0.39php4.2.3 is built in module mode under windowsXP._PHP tutorial


WindowsXP+Apache2.0.39+php-4.2.3-dev
Source file download:
1. http://www.apache.org/dist/httpd/binaries/win32/
Below apache_2.0.39-win32-x86-no_ssl.msi
or apache_2.0.39-win32-x86-no_ssl.exe
(A full setup package (.exe) containing the Win9x/WinNT
Microsoft System Installer installer is available.
If the Microsoft System Installer is already on the machine,
there is no need to download the .exe, save yourself 3MB and
download the .msi package.)
2. http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Install server and php:
1. Select the downloaded apache msi file, right-click and select installation, default method That's it
2. Unzip php4-win32-STABLE-snapshotnumber.zip, get the
php4-win32-STABLE-snapshotnumber folder, rename it to php, and
copy it to c:.
3. Copy php4ts.dll under c:php to c:wondowssystem32 (that is, the
first path name of the PATH environment variable)
(4. Copy all .dll files under c:phpdll to c:wondowssystem32.) See below
to configure php.ini and http.conf
1. Copy c:phpphp.ini-dist to c:windows and rename it to php.ini


2. Open the php.ini file, find the doc_root= item, and set it to
doc_root="C:Program FilesApache GroupApache2htdocs"
That is, only php files in this directory (apache server main document directory) can be executed.
Find the extension_dir= item and set it to
extension_dir ="C:PHPsapi" which contains the .dll file of the extension library (note,
When the web page cannot be executed and an error is given that the .dll file cannot be found, set Copy all
.dll under c:phpsapi to c:windowssystem32).
Save php.ini and exit editing.
3. Open c:progame filesapache groupapache2confhttpd.conf
Make sure the servername is set ( At least localhost),
Find a series of command items starting with LoadModule, and add the following content at the end:
LoadModule php4_module c:/php/sapi/php4apache2.dll

SetOutputFilter PHP

Next find the AddTYpe application/x-tar.tgz command and add after it:
AddType application/x-httpd-php .php
Save httpd.conf and exit editing .
Restart the apache2 service
You can type in the command line mode:
net stop apache2
net start apache2

Add the .php file in the ....htdocs/ directory, such as index.php, type
http://localhost/index.php
into the browser address bar and try it, I wish you good luck!!

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/531743.htmlTechArticleWindowsXP+Apache2.0.39+php-4.2.3-dev Source file download: 1. http://www .apache.org/dist/httpd/binaries/win32/ The following apache_2.0.39-win32-x86-no_ssl.msi or apache_2.0.39-win32-x86...
Statement
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
CS玩家的首选:推荐的电脑配置CS玩家的首选:推荐的电脑配置Jan 02, 2024 pm 04:26 PM

1.处理器在选择电脑配置时,处理器是至关重要的组件之一。对于玩CS这样的游戏来说,处理器的性能直接影响游戏的流畅度和反应速度。推荐选择IntelCorei5或i7系列的处理器,因为它们具有强大的多核处理能力和高频率,可以轻松应对CS的高要求。2.显卡显卡是游戏性能的重要因素之一。对于射击游戏如CS而言,显卡的性能直接影响游戏画面的清晰度和流畅度。建议选择NVIDIAGeForceGTX系列或AMDRadeonRX系列的显卡,它们具备出色的图形处理能力和高帧率输出,能够提供更好的游戏体验3.内存电

Python常用标准库及第三方库2-sys模块Python常用标准库及第三方库2-sys模块Apr 10, 2023 pm 02:56 PM

一、sys模块简介前面介绍的os模块主要面向操作系统,而本篇的sys模块则主要针对的是Python解释器。sys模块是Python自带的模块,它是与Python解释器交互的一个接口。sys 模块提供了许多函数和变量来处理 Python 运行时环境的不同部分。二、sys模块常用方法通过dir()方法可以查看sys模块中带有哪些方法:import sys print(dir(sys))1.sys.argv-获取命令行参数sys.argv作用是实现从程序外部向程序传递参数,它能够获取命令行参数列

Python编程:详解命名元组(namedtuple)的使用要点Python编程:详解命名元组(namedtuple)的使用要点Apr 11, 2023 pm 09:22 PM

前言本文继续来介绍Python集合模块,这次主要简明扼要的介绍其内的命名元组,即namedtuple的使用。闲话少叙,我们开始——记得点赞、关注和转发哦~ ^_^创建命名元组Python集合中的命名元组类namedTuples为元组中的每个位置赋予意义,并增强代码的可读性和描述性。它们可以在任何使用常规元组的地方使用,且增加了通过名称而不是位置索引方式访问字段的能力。其来自Python内置模块collections。其使用的常规语法方式为:import collections XxNamedT

windowsxp是什么系统windowsxp是什么系统Jun 08, 2023 am 09:44 AM

WindowsXP属于多用户多任务操作系统,由Microsoft开发和发布于2001年,它是Windows2000的继承者,注重家庭用户和媒体中心功能而设计,被广泛应用于台式机和笔记本电脑,直到2014年4月8日停止支持。

如何在 Python 中使用 DateTime如何在 Python 中使用 DateTimeApr 19, 2023 pm 11:55 PM

所有数据在开始时都会自动分配一个“DOB”(出生日期)。因此,在某些时候处理数据时不可避免地会遇到日期和时间数据。本教程将带您了解Python中的datetime模块以及使用一些外围库,如pandas和pytz。在Python中,任何与日期和时间有关的事情都由datetime模块处理,它将模块进一步分为5个不同的类。类只是与对象相对应的数据类型。下图总结了Python中的5个日期时间类以及常用的属性和示例。3个有用的片段1.将字符串转换为日期时间格式,也许是使用datet

Python 的 import 是怎么工作的?Python 的 import 是怎么工作的?May 15, 2023 pm 08:13 PM

你好,我是somenzz,可以叫我征哥。Python的import是非常直观的,但即使这样,有时候你会发现,明明包就在那里,我们仍会遇到ModuleNotFoundError,明明相对路径非常正确,就是报错ImportError:attemptedrelativeimportwithnoknownparentpackage导入同一个目录的模块和不同的目录的模块是完全不同的,本文通过分析使用import经常遇到的一些问题,来帮助你轻松搞定import,据此,你可以轻松创建属

一文总结特征增强&个性化在CTR预估中的经典方法和效果对比一文总结特征增强&个性化在CTR预估中的经典方法和效果对比Dec 15, 2023 am 09:23 AM

在CTR预估中,主流都采用特征embedding+MLP的方式,其中特征非常关键。然而对于相同的特征,在不同的样本中,表征是相同的,这种方式输入到下游模型,会限制模型的表达能力。为了解决这个问题,CTR预估领域提出了一系列相关工作,被称为特征增强模块。特征增强模块根据不同的样本,对embedding层的输出结果进行一次矫正,以适应不同样本的特征表示,提升模型的表达能力。最近,复旦大学和微软亚洲研究院合作发布了一篇关于特征增强工作的综述,对比了不同特征增强模块的实现方法及其效果。现在,我们来介绍一

Python中的Shutil模块Python中的Shutil模块Aug 18, 2023 pm 11:57 PM

Python作为一种多功能且强大的编程语言,提供了许多模块和库来简化各种任务。其中一个模块是Shutil,它代表"shellutilities",提供了一套全面的文件和目录操作函数。无论您需要复制、移动、重命名还是删除文件和目录,Python中的Shutil模块都可以通过其用户友好且高效的功能帮助您。在本教程中,我们将深入探讨Shutil模块的世界,并探索其在Python中管理文件和目录的能力。我们将为您介绍Shutil的主要特点和功能,并提供实际示例和代码片段。在文章的下一

See all articles

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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools