Home Backend Development PHP Tutorial Installation of Apache1.3.14 + PHP4.0.4 under WIN98_PHP Tutorial

Installation of Apache1.3.14 + PHP4.0.4 under WIN98_PHP Tutorial

Jul 13, 2016 pm 05:08 PM
apache Down Install new version most of

1. Installation of Apache
After installing apache (latest version 1.3.14), configure the httpd.conf file in the apacheconf directory as follows:
1.1 Find #ServerName new.host.name and change new.host.name Replace it with your own host name. If the host name is xman, change it to
ServerName xman
and remove the # in front.
1.2 Publish one of your folders:
If you want to publish your directory d:myweb, publish it as myweb, search for Alias ​​in the httpd.conf file, and add
Alias ​​/myweb " below d:/myweb"
Note that in Apache 1.3.14, the path in quotation marks is separated by "/" instead of "".
2. Install PHP:
2.1 Unzip php-4.0.4-Win32.zip (the latest version 4.0.4) to a directory on the hard disk, for example, to the d:php directory.
2.2 Move php4ts.dll in the php directory to the windows system directory such as (c:windowssystem).
2.3 Modify the apacheconfhttpd.conf file and add the following content:
LoadModule php4_module X:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
where LoadModule and AddType All can be found by searching.
2.4 Copy the file php.ini-dist in the php (d:php) directory to the windows directory (c:windows) and rename it to php.ini.
Start apache.
In the startup window you can see the words
Apache/1.3.14 (Win32) PHP/4.0.4 running...
.
3 Test:
Edit the file helloworld.php as follows:
echo "Hello World!";
?>
After starting Apache, type in IE Enter: http://xman/myweb/helloworld.php
Seeing Hello World! means that you have successfully installed Apache + php.
The above Apache version is Apache1.3.14, and the php version is php4.0.4. Other versions may be a little different, but they are basically the same.
Win2000 is basically the same as win98, just put php4ts.dll under WINNTSYSTEM32. The rest can be installed by reference. When installed as a service, an error may occur during shutdown. Just change it to cgi mode.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629874.htmlTechArticle1. Installation of Apache After installing apache (the latest version 1.3.14), configure and install httpd in the apacheconf directory. The conf file is as follows: 1.1 Find #ServerName new.host.name and replace new.host.name with your...
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

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)

PHP Framework Performance Comparison: The Ultimate Showdown of Speed ​​vs. Efficiency PHP Framework Performance Comparison: The Ultimate Showdown of Speed ​​vs. Efficiency Apr 30, 2024 pm 12:27 PM

According to benchmarks, Laravel excels in page loading speed and database queries, while CodeIgniter excels in data processing. When choosing a PHP framework, you should consider application size, traffic patterns, and development team skills.

The treasure map appears in 'Zero Era'. Let's search for treasures together and celebrate May Day! The treasure map appears in 'Zero Era'. Let's search for treasures together and celebrate May Day! May 03, 2024 pm 12:43 PM

"Zero Age" legend has it that a long time ago there was a miser named Pan God. He collected a large amount of treasures during his lifetime, but after his death these treasures also disappeared, leaving only a rumor that Pan God built a huge maze mausoleum. , hid the treasure inside, but unfortunately no one has found it yet. Only by gambling your life can you find those peerless treasures. Do you dare to bet on this game? If you find the treasure box, you may get equipment development props and a mysterious silver coin package. So where do you get the treasure map? You can get it from daily business missions. There are three types of treasure maps: Iceland treasure map, wilderness treasure map, and rainforest treasure map. You can dig out treasures by finding the treasure location marked on the treasure map. And digging for treasures will randomly encounter different events: there is a chance that the BOSS guarding the treasure will be alerted, and the BOSS will die.

How to conduct concurrency testing and debugging in Java concurrent programming? How to conduct concurrency testing and debugging in Java concurrent programming? May 09, 2024 am 09:33 AM

Concurrency testing and debugging Concurrency testing and debugging in Java concurrent programming are crucial and the following techniques are available: Concurrency testing: Unit testing: Isolate and test a single concurrent task. Integration testing: testing the interaction between multiple concurrent tasks. Load testing: Evaluate an application's performance and scalability under heavy load. Concurrency Debugging: Breakpoints: Pause thread execution and inspect variables or execute code. Logging: Record thread events and status. Stack trace: Identify the source of the exception. Visualization tools: Monitor thread activity and resource usage.

How to add a server in eclipse How to add a server in eclipse May 05, 2024 pm 07:27 PM

To add a server to Eclipse, follow these steps: Create a server runtime environment Configure the server Create a server instance Select the server runtime environment Configure the server instance Start the server deployment project

Application of algorithms in the construction of 58 portrait platform Application of algorithms in the construction of 58 portrait platform May 09, 2024 am 09:01 AM

1. Background of the Construction of 58 Portraits Platform First of all, I would like to share with you the background of the construction of the 58 Portrait Platform. 1. The traditional thinking of the traditional profiling platform is no longer enough. Building a user profiling platform relies on data warehouse modeling capabilities to integrate data from multiple business lines to build accurate user portraits; it also requires data mining to understand user behavior, interests and needs, and provide algorithms. side capabilities; finally, it also needs to have data platform capabilities to efficiently store, query and share user profile data and provide profile services. The main difference between a self-built business profiling platform and a middle-office profiling platform is that the self-built profiling platform serves a single business line and can be customized on demand; the mid-office platform serves multiple business lines, has complex modeling, and provides more general capabilities. 2.58 User portraits of the background of Zhongtai portrait construction

The evasive module protects your website from application layer DOS attacks The evasive module protects your website from application layer DOS attacks Apr 30, 2024 pm 05:34 PM

There are a variety of attack methods that can take a website offline, and the more complex methods involve technical knowledge of databases and programming. A simpler method is called a "DenialOfService" (DOS) attack. The name of this attack method comes from its intention: to cause normal service requests from ordinary customers or website visitors to be denied. Generally speaking, there are two forms of DOS attacks: the third and fourth layers of the OSI model, that is, the network layer attack. The seventh layer of the OSI model, that is, the application layer attack. The first type of DOS attack - the network layer, occurs when a large number of of junk traffic flows to the web server. When spam traffic exceeds the network's ability to handle it, the website goes down. The second type of DOS attack is at the application layer and uses combined

How to deploy and maintain a website using PHP How to deploy and maintain a website using PHP May 03, 2024 am 08:54 AM

To successfully deploy and maintain a PHP website, you need to perform the following steps: Select a web server (such as Apache or Nginx) Install PHP Create a database and connect PHP Upload code to the server Set up domain name and DNS Monitoring website maintenance steps include updating PHP and web servers, and backing up the website , monitor error logs and update content.

'Zero Era' opens a new era that combines technology and magic! 'Zero Era' opens a new era that combines technology and magic! Jun 02, 2024 am 09:45 AM

"Zero Era" is a 2.5D future fantasy massively multiplayer role-playing online game represented by Hip Hop Tribe Platform. It takes the post-apocalyptic world reconstruction as its theme and presents a mysterious new world where magic and technology coexist. It has steam technology, automatic Innovative gameplay such as creative skills fully demonstrates the steampunk culture full of endless changes and imagination. In addition to protecting characters and reducing damage encountered during adventures, equipment can also increase people's potential to the limit, allowing adventurers to exert extraordinary strength. For adventurers, having a special piece of equipment is even a symbol of identity and experience. Equipment is divided into 6 quality levels: common (white), good (green), excellent (blue), rare (purple), heroic (pink), and legendary (orange). ordinary(

See all articles