Home Backend Development PHP Tutorial Apache2.0.39php4.2.3 is built in module mode under windowsXP._PHP tutorial

Apache2.0.39php4.2.3 is built in module mode under windowsXP._PHP tutorial

Jul 13, 2016 pm 05:28 PM
windowsxp Down exist build Way module


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 of this Website
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

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 ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

WLAN expansion module has stopped [fix] WLAN expansion module has stopped [fix] Feb 19, 2024 pm 02:18 PM

If there is a problem with the WLAN expansion module on your Windows computer, it may cause you to be disconnected from the Internet. This situation is often frustrating, but fortunately, this article provides some simple suggestions that can help you solve this problem and get your wireless connection working properly again. Fix WLAN Extensibility Module Has Stopped If the WLAN Extensibility Module has stopped working on your Windows computer, follow these suggestions to fix it: Run the Network and Internet Troubleshooter to disable and re-enable wireless network connections Restart the WLAN Autoconfiguration Service Modify Power Options Modify Advanced Power Settings Reinstall Network Adapter Driver Run Some Network Commands Now, let’s look at it in detail

WLAN extensibility module cannot start WLAN extensibility module cannot start Feb 19, 2024 pm 05:09 PM

This article details methods to resolve event ID10000, which indicates that the Wireless LAN expansion module cannot start. This error may appear in the event log of Windows 11/10 PC. The WLAN extensibility module is a component of Windows that allows independent hardware vendors (IHVs) and independent software vendors (ISVs) to provide users with customized wireless network features and functionality. It extends the capabilities of native Windows network components by adding Windows default functionality. The WLAN extensibility module is started as part of initialization when the operating system loads network components. If the Wireless LAN Expansion Module encounters a problem and cannot start, you may see an error message in the event viewer log.

The first choice for CS players: recommended computer configuration The first choice for CS players: recommended computer configuration Jan 02, 2024 pm 04:26 PM

1. Processor When choosing a computer configuration, the processor is one of the most important components. For playing games like CS, the performance of the processor directly affects the smoothness and response speed of the game. It is recommended to choose Intel Core i5 or i7 series processors because they have powerful multi-core processing capabilities and high frequencies, and can easily cope with the high requirements of CS. 2. Graphics card Graphics card is one of the important factors in game performance. For shooting games such as CS, the performance of the graphics card directly affects the clarity and smoothness of the game screen. It is recommended to choose NVIDIA GeForce GTX series or AMD Radeon RX series graphics cards. They have excellent graphics processing capabilities and high frame rate output, and can provide a better gaming experience. 3. Memory power

How to quickly build a statistical chart system under the Vue framework How to quickly build a statistical chart system under the Vue framework Aug 21, 2023 pm 05:48 PM

How to quickly build a statistical chart system under the Vue framework. In modern web applications, statistical charts are an essential component. As a popular front-end framework, Vue.js provides many convenient tools and components that can help us quickly build a statistical chart system. This article will introduce how to use the Vue framework and some plug-ins to build a simple statistical chart system. First, we need to prepare a Vue.js development environment, including installing Vue scaffolding and some related plug-ins. Execute the following command in the command line

What system is windowsxp? What system is windowsxp? Jun 08, 2023 am 09:44 AM

Windows Ended support on the 8th.

How does Python's import work? How does Python's import work? May 15, 2023 pm 08:13 PM

Hello, my name is somenzz, you can call me Brother Zheng. Python's import is very intuitive, but even so, sometimes you will find that even though the package is there, we will still encounter ModuleNotFoundError. Obviously the relative path is very correct, but the error ImportError:attemptedrelativeimportwithnoknownparentpackage imports a module in the same directory and a different one. The modules of the directory are completely different. This article helps you easily handle the import by analyzing some problems often encountered when using import. Based on this, you can easily create attributes.

Detailed explanation of how Ansible works Detailed explanation of how Ansible works Feb 18, 2024 pm 05:40 PM

The working principle of Ansible can be understood from the above figure: the management end supports three methods of local, ssh, and zeromq to connect to the managed end. The default is to use the ssh-based connection. This part corresponds to the connection module in the above architecture diagram; you can press the application type HostInventory (host list) classification is carried out in other ways. The management node implements corresponding operations through various modules. A single module and batch execution of a single command can be called ad-hoc; the management node can implement a collection of multiple tasks through playbooks. Implement a type of functions, such as installation and deployment of web services, batch backup of database servers, etc. We can simply understand playbooks as, the system passes

This article summarizes the classic methods and effect comparison of feature enhancement & personalization in CTR estimation. This article summarizes the classic methods and effect comparison of feature enhancement & personalization in CTR estimation. Dec 15, 2023 am 09:23 AM

In CTR estimation, the mainstream method uses feature embedding+MLP, in which features are very critical. However, for the same features, the representation is the same in different samples. This way of inputting to the downstream model will limit the expressive ability of the model. In order to solve this problem, a series of related work has been proposed in the field of CTR estimation, which is called feature enhancement module. The feature enhancement module corrects the output results of the embedding layer based on different samples to adapt to the feature representation of different samples and improve the expression ability of the model. Recently, Fudan University and Microsoft Research Asia jointly published a review on feature enhancement work, comparing the implementation methods and effects of different feature enhancement modules. Now, let us introduce a

See all articles