search
HomeBackend DevelopmentPHP TutorialModular installation of PHP in NT series OS_PHP tutorial
Modular installation of PHP in NT series OS_PHP tutorialJul 13, 2016 pm 05:08 PM
phpPowerfulattractexistInstallModularEasy to learnseries

in various network programming languages. PHP has attracted many programming enthusiasts because of its simplicity, ease of learning and powerful functions. However, the installation of PHP has become a stumbling block for many beginners. Now let me give you a more detailed introduction to a method of installing PHP and common modules in a modular manner under the Microsoft Windows 2000/XP platform.

1. Basic knowledge
Before the introduction, please understand some basic knowledge of PHP installation. PHP has two different installation methods: CGI and modular.
For PHP installed in CGI mode, every time a PHP script is parsed, the server will generate a temporary PHP parser (process) to parse the PHP script. When the amount of access is large, Server performance will be reduced.
With modular installation of PHP, it runs at the same memory address as the Apache server. It has considerable performance improvement and higher security than CGI method.

So modular installation has greater advantages than CGI method. Related software is listed below:
Apache server uses the 2.0.43 series version. Download address: http://www.apache.org/
PHP uses the newer version 4.32 with good security and stability, and supports modular installation. Download address: http://www.php.net/
2. Install the Apache server
When the relevant software is ready. Install Apache 2.0.43 first, during installation. The default installation path is the start menu of C:. It is recommended to change the path to the root directory of the C drive. This will be more convenient in daily use.
After Apache is installed. Note that a red feather symbol will appear in the system tray area of ​​the taskbar. If there is a green triangle underneath the feather. Indicates that Apache is installed successfully and is running. If a red stop sign appears, it means there was a problem during the installation process, usually a port conflict. If there is another server such as IIS installed on your machine, please check whether port 80 is occupied by IIS. If you want Apache to use a different port, OK. Select Edit the Apache httpd.conf Configuration File in the Configure Apache Server of the Apache HTTP Server 2.0.43 project in the start menu. After opening it (it is recommended to install and use a text editor with line number display such as UltraEdit), there is Listen around line 120. 80 words. Indicates that Apache uses port 80 by default. You can change it to the port you want. Just add the port number you modified when browsing. For example, http://localhost(:port number)/index.html.en, this is the start page of Apache.
3. Modular installation of PHP
After installing Apache, the important step begins. Unzip the downloaded PHP4.32 to the root directory of drive C. Generally, the default folder name should be in the format of php-4.3.2-Win32, change it to php. Then change the php.ini-dist file to php.ini, and copy this file to the C:WINNT or C:WINDOWS directory. (A little knowledge here is that if there are php.ini configuration files in both the system directory and the PHP directory, PHP will execute the one in the PHP directory first!) This is also a problem that many friends often encounter when using PHP on a daily basis. I modified php.ini in the system directory, but the desired result was not achieved after running it. Here's why!

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629863.htmlTechArticle in various network programming languages. PHP has attracted many programming enthusiasts because of its simplicity, ease of learning and powerful functions. However, the installation of PHP has become a stumbling block for many beginners. Now let me tell you...
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.内存电

小米 15 系列全代号曝光:Dada、Haotian、Xuanyuan小米 15 系列全代号曝光:Dada、Haotian、XuanyuanAug 22, 2024 pm 06:47 PM

小米15系列预计将于10月份正式发布,其全系列代号已在外媒MiCode代码库中曝光。其中,旗舰级小米15Ultra代号为"Xuanyuan"(意为"轩辕"),此名源自中国神话中的黄帝,象征着尊贵。小米15的代号为"Dada",而小米15Pro则以"Haotian"(意为"昊天")为名。小米15SPro内部代号为"dijun",暗指《山海经》创世神帝俊。小米15Ultra系列涵盖

华为 Mate 60 系列最佳入手时机,新增 AI 消除 + 影像升级,更可享秋日礼遇活动华为 Mate 60 系列最佳入手时机,新增 AI 消除 + 影像升级,更可享秋日礼遇活动Aug 29, 2024 pm 03:33 PM

自去年华为Mate60系列开售以来,我个人就一直将Mate60Pro作为主力机使用。在将近一年的时间里,华为Mate60Pro经过多次OTA升级,综合体验有了显著提升,给人一种常用常新的感觉。比如近期,华为Mate60系列就再度迎来了影像功能的重磅升级。首先是新增AI消除功能,可以智能消除路人、杂物并对空白部分进行自动补充;其次是主摄色准、长焦清晰度均有明显升级。考虑到现在是开学季,华为Mate60系列还推出了秋日礼遇活动:购机可享至高800元优惠,入手价低至4999元。常用常新的产品力加上超值

如何解决Python的代码的可维护性差错误?如何解决Python的代码的可维护性差错误?Jun 25, 2023 am 11:58 AM

Python作为一门高级编程语言,在软件开发中得到了广泛应用。虽然Python有许多优点,但很多Python程序员经常面临的问题是,代码的可维护性较差。Python代码的可维护性包括代码的易读性、可扩展性、可重用性等方面。在本篇文章中,我们将着重讨论如何解决Python代码的可维护性差的问题。一、代码的易读性代码可读性是指代码的易读程度,它是代码可维护性的核

如何解决Python的代码中的代码复杂度过高错误?如何解决Python的代码中的代码复杂度过高错误?Jun 24, 2023 pm 05:43 PM

Python是一门简单易学高效的编程语言,但是当我们在编写Python代码时,可能会遇到一些代码复杂度过高的问题。这些问题如果不解决,会使得代码难以维护,容易出错,降低代码的可读性和可扩展性。因此,在本文中,我们将讨论如何解决Python代码中的代码复杂度过高错误。了解代码复杂度代码复杂度是一种度量代码难以理解和维护的性质。在Python中,有一些指标可以用

iPhone 15 和iPhone 15 Pro 怎么挑?九大差异一次过目iPhone 15 和iPhone 15 Pro 怎么挑?九大差异一次过目Sep 14, 2023 am 08:01 AM

iPhone15与iPhone15Pro在今日正式发表,不过Pro系列作为高端机型,除了价格更高以外,也有许多专属功能,消费者在购买前得先认清差异,才不会在买了iPhone15后,才发现有些功能只有Pro系列才能用。显示器尽管搭载了相同的显示面板,但ProMotion自动适应更新频率技术与永远显示功能仍然是Pro系列专属。其余无论是在解析度、对比度、峰值亮度等层面,iPhone15与iPhone15Pro系列皆相同。动作按钮动作按钮目前是iPhone15Pro系列的专属设计,可以让使用者个人化自

如何使用Go语言进行代码模块化实践如何使用Go语言进行代码模块化实践Aug 03, 2023 am 10:31 AM

如何使用Go语言进行代码模块化实践引言:在软件开发中,代码模块化是一种常用的开发方法论,通过将代码划分为可重用的模块,可以提高代码的可维护性、可测试性和可复用性。本文将介绍如何使用Go语言进行代码模块化实践,并提供相应的代码示例。一、模块化的优势提高代码可维护性:模块化将代码分割为独立的功能模块,每个模块负责特定的任务,使得代码更加清晰和易于修改。提高代码可

vue中什么是模块化vue中什么是模块化Dec 23, 2022 pm 06:06 PM

在vue中,模块化就是把单独的一个功能封装到一个模块(文件)中,模块之间相互隔离,但是可以通过特定的接口公开内部成员,也可以依赖别的模块(方便代码的重用,从而提升开发效率,并且方便后期的维护)。模块化开发的好处:1、条理清晰,便于维护;2、不会一次将所有数据请求回来,用户体验感好;3、模块之间相互隔离,但是可以通过特定的接口公开内部成员,也可以依赖别的模块。

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

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

Hot Tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment