apache2.0.39php4.2.3在windowsXP下模块方式搭建.
WindowsXP+Apache2.0.39+php-4.2.3-dev
源文件下载:
1. http://www.apache.org/dist/httpd/binaries/win32/
下面的 apache_2.0.39-win32-x86-no_ssl.msi
或者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
安装服务器和php:
1.选中下载的apache的msi文件,单击右键选择安装,默认方式即可
2.解压缩php4-win32-STABLE-snapshotnumber.zip,得到
php4-win32-STABLE-snapshotnumber文件夹,重命名为php,并
复制到c:下.
3.将c:php下的php4ts.dll复制到c:wondowssystem32下(即PATH环境变量的
第一个路径名)
(4.将c:phpdll下所有.dll文件复制到c:wondowssystem32下.)见下面
配置php.ini和http.conf
1.将c:phpphp.ini-dist复制到c:windows下,改名为php.ini
2.打开php.ini文件,找到doc_root=项,置为
doc_root="C:Program FilesApache GroupApache2htdocs"
即在这个目录(apache服务器主文档目录)下的php文件才可以执行.
找到extension_dir=项,置为
extension_dir ="C:PHPsapi"这里面有扩展库的.dll文件(注意,
当网页不能执行,给出错误不能找到.dll文件时,将c:phpsapi下所有
.dll复制到c:windowssystem32下).
保存php.ini并退出编辑.
3.打开c:progame filesapache groupapache2confhttpd.conf
确保servername 设置好(最起码localhost),
找到一系列 LoadModule开头的指令项,在最后加入如下内容:
LoadModule php4_module c:/php/sapi/php4apache2.dll
SetOutputFilter PHP
接下来找到AddTYpe application/x-tar.tgz 指令,在其后加入:
AddType application/x-httpd-php .php
保存httpd.conf,并退出编辑.
重启apache2服务
可以在命令行方式下键入:
net stop apache2
net start apache2
在....htdocs/目录下加入.php文件如index.php,在浏览器地址栏内键入
http://localhost/index.php
试试看,希望你好运!!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics










![WLAN expansion module has stopped [fix]](https://img.php.cn/upload/article/000/465/014/170832352052603.gif?x-oss-process=image/resize,m_fill,h_207,w_330)
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

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.

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. 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

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.

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

Players can collect different materials to build buildings when playing in the Mistlock Kingdom. Many players want to know whether to build buildings in the wild. Buildings cannot be built in the wild in the Mistlock Kingdom. They must be within the scope of the altar. . Can buildings be built in the wild in Mistlock Kingdom? Answer: No. 1. Buildings cannot be built in the wild areas of the Mist Lock Kingdom. 2. The building must be built within the scope of the altar. 3. Players can place the Spirit Fire Altar by themselves, but once they leave the range, they will not be able to construct buildings. 4. We can also directly dig a hole in the mountain as our home, so we don’t need to consume building materials. 5. There is a comfort mechanism in the buildings built by players themselves, that is to say, the better the interior, the higher the comfort. 6. High comfort will bring attribute bonuses to players, such as
