Home Backend Development PHP Tutorial Apache PHP5.3.1 installation tutorial based on Windows_PHP tutorial

Apache PHP5.3.1 installation tutorial based on Windows_PHP tutorial

Jul 21, 2016 pm 03:41 PM
apache windows Down download based on Install recommend Tutorial most Version

I downloaded the latest recommended version. I didn't expect to post it on the forum, so I didn't take any screenshots. Later, when I summarized it in Notepad, I found that there are still many problems, so I shared it. I hope it will be helpful to everyone
help. When doing experiments, I also referred to tutorials written by other seniors in the forum. Thank you very much. The steps are relatively simple, but the important
things are basically written out. If you don’t understand anything, you can use the search engine. If I am online, I will try my best to answer it.
The installation process is as follows:
①Manual installation:
 (1) Follow the prompts to install Apache 2.2.14. There are two versions (the specific differences are answered online), both are OK. Install in C: WAMP Apache2.2.14.
(2) Unzip php-5.3.1-Win32-VC6-x86.zip (select VC6, Thread Safe version) to C:WAMPPHP5.3.1.
(3) Open httpd.conf and add the following three lines:
LoadModule php5_module C:/WAMP/PHP5.3.1/php5apache2_2.dll
PHPIniDir "C:/WAMP/PHP5.3.1"
AddType application/x-httpd-php .php .phtml
Find
DirectoryIndex index.html
Change to:
DirectoryIndex index.html index.php

(4) Set up the environment Variables: C:WAMPPHP5.3.1; C:WAMPPHP5.3.1ext;
You can also add C:WAMPApache2.2.14bin, so that if Apache errors, you can
directly type commands in the command console to debug.
 (5) Modify php.ini:
Find extension_dir and set it to extension_dir = "C:/WAMP/PHP5.3.1/ext"
Find the following extension:
;extension=php_gd2.dll
; extension=php_mbstring.dll
; extension=php_mysql.dll
; extension=php_mysqli.dll
Remove the previous semicolon. Remove the preceding semicolon as needed.
(6) Restart Apache and write a php web page test with PHP statements.
(7) Unzip mysql-noinstall-5.1.41-win32.zip to C:WAMPMySQL5.1.41
(8) Rename my-large.ini to my.ini, find [mysqld] and add the following statement :
 #set default language
 default-character-set=gbk
 #set basedir to your installation path
 basedir=C:/WAMP/MySQL5.1.41
 #set datadir to the location of your data directory
datadir=C:/WAMP/MySQL5.1.41/data
(9) First set the environment variable: C:WAMPMySQL5.1.41bin, then open the command window and enter:
mysqld -- install MySQL --defaults-file=C:WAMPMySQL5.1.41my.ini
After the installation is complete, enter in the command window: mysql -u root
Set the root account password: set password for 'root'@'localhost' = password('123456');
After this, you can use mysql, restart Apache, and write a php web page test.
 (10) Install ZendOptimizer-3.3.0a-Windows-i386.exe according to the prompts.
(11) Unzip phpMyAdmin-3.2.4 to C:WAMPApachehtdocsphpMyAdmin.
 (12) Open the file config.sample.inc.php and find the line of code:
 // $cfg['Servers'][$i]['controluser'] = 'pma';
// $cfg['Servers'][$i]['controlpass'] = 'pmapass';
 Change to:
 $cfg['Servers'][$i]['controluser'] = ' root';
 $cfg['Servers'][$i]['controlpass'] = '123456';
 Note: If you need to use phpMyAdmin through remote server debugging, the blowfish_secret content cannot be empty.
You can set a string at will.
 (13) Save config.inc.php in the same directory. Now you can use phpMyAdmin in the browser.
At this point, the manual installation is completed.
****************************************************** ***********************************
 ########## ################################################ #########
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@
 ②Automatic installation:
 (1) Follow the prompts to install Apache 2.2.14, there are two versions (the specific differences are answered online) , all will work, installed in C:WAMPApache2.2.14.
(2) Run php-5.3.1-Win32-VC6-x86.msi (select VC6, Thread Safe version) and install it in C:WAMPPHP5.3.1.
(3) After installation, find the file ntwdblib.dll online and place it in the C:WAMPPHP5.3.1 directory (this approach is not recommended).
Or open php.ini and comment out the following sentence (just add a semicolon in front, it is better if it has been commented):
extension=php_mssql.dll
Then restart Apache. It should be fine (if you restart Apache directly, an error may occur).
Write a php web page to test.
(4) Run mysql-5.1.41-win32.msi and install it in C:WAMPMySQL5.1.41.
(5) Restart Apache, create a new php web page, and connect to MySQL to verify whether the installation is successful.
(6) Unzip phpMyAdmin-3.2.4 to C:WAMPApachehtdocsphpMyAdmin.
 (7) Open the file config.sample.inc.php and find the line of code:
 // $cfg['Servers'][$i]['controluser'] = 'pma';
// $cfg['Servers'][$i]['controlpass'] = 'pmapass';
 Change to:
 $cfg['Servers'][$i]['controluser'] = ' root';
 $cfg['Servers'][$i]['controlpass'] = '123456';
 Note: If you need to use phpMyAdmin through remote server debugging, the blowfish_secret content cannot be empty.
You can set a string at will, it is best to set a string.
(8) Save config.inc.php in the same directory. Now you can use phpMyAdmin in the browser.
At this point, the automatic installation is completed.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/321213.htmlTechArticleI downloaded the latest recommended version. I didn’t expect to post it to the forum, so I didn’t take any screenshots. I concluded later. When I went to Notepad, I found that there were still a lot of questions, so I shared them...
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 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months 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)

Pi Node Teaching: What is a Pi Node? How to install and set up Pi Node? Pi Node Teaching: What is a Pi Node? How to install and set up Pi Node? Mar 05, 2025 pm 05:57 PM

Detailed explanation and installation guide for PiNetwork nodes This article will introduce the PiNetwork ecosystem in detail - Pi nodes, a key role in the PiNetwork ecosystem, and provide complete steps for installation and configuration. After the launch of the PiNetwork blockchain test network, Pi nodes have become an important part of many pioneers actively participating in the testing, preparing for the upcoming main network release. If you don’t know PiNetwork yet, please refer to what is Picoin? What is the price for listing? Pi usage, mining and security analysis. What is PiNetwork? The PiNetwork project started in 2019 and owns its exclusive cryptocurrency Pi Coin. The project aims to create a one that everyone can participate

The latest version download of gate.io The latest version download of gate.io Mar 05, 2025 pm 07:51 PM

Need to download the Gate.io app to start your cryptocurrency journey? This guide details the latest version download steps for iOS, Android, and Windows devices. Simply visit the official website, find the download link and select the appropriate option based on your device. For iOS, it will go directly to the App Store, while Android and Windows users will download the APK or installer for manual installation. Once installed, you can launch the app and set up your account to step into the world of cryptocurrency.

How to solve the problem of third-party interface returning 403 in Node.js environment? How to solve the problem of third-party interface returning 403 in Node.js environment? Mar 31, 2025 pm 11:27 PM

Solve the problem of third-party interface returning 403 in Node.js environment. When we use Node.js to call third-party interfaces, we sometimes encounter an error of 403 from the interface returning 403...

What kind of disk-viewing software is used for Bitcoin What kind of disk-viewing software is used for Bitcoin Mar 17, 2025 pm 04:27 PM

Choosing the right Bitcoin market viewing software is crucial, it can help investors grasp market conditions in real time and make smarter investment decisions. This article will guide you how to make a choice, covering personal needs assessment (trading frequency, analysis depth, information needs and budget), software type selection (exchange interface, professional software, market website/APP), core functional considerations (data reliability, chart tools, custom settings, community communication and platform compatibility), and direction recommendations (maturity financial platform, cryptocurrency aggregation platform, community recommendation software). Finally, it is recommended that you try a few more software and compare it to choose the tool that best suits your needs. Please remember that software is only an auxiliary tool, and you must be cautious when investing at your own risk.

How to download okx trading platform How to download okx trading platform Mar 26, 2025 pm 05:18 PM

The OKX trading platform can be downloaded through mobile devices (Android and iOS) and computers (Windows and macOS). 1. Android users can download it from the official website or Google Play, and they need to pay attention to security settings. 2. iOS users can download it through the App Store or follow the official announcement to obtain other methods. 3. Computer users can download the client of the corresponding system from the official website. Always make sure to use official channels when downloading, and register, log in and security settings after installation.

What is Binance C2C? What are the risks? Is it safe? Binance C2C Coins Buying and Selling Coins Tutorial What is Binance C2C? What are the risks? Is it safe? Binance C2C Coins Buying and Selling Coins Tutorial Mar 05, 2025 pm 04:48 PM

Binance C2C Trading Guide: Safe and convenient way to deposit and withdraw money in cryptocurrency. This article will explain the Binance C2C (CustomertoCustomer) trading model in detail, explain its security, characteristics and operation procedures, and provide graphic tutorials to help you easily master the Binance C2C deposit and withdraw money in ease. What is Binance C2C? Binance C2C is a user-to-user cryptocurrency trading service provided by the Binance platform, providing users with convenient cryptocurrency and fiat currency exchange channels. Launched in 2019, the service supports multiple cryptocurrencies and fiat currency transactions through a peer-to-peer trading model, and provides enhanced security and multiple features. Compared with traditional OTC trading, Binance C2C platform authenticates both parties to the transaction and provides complete support.

How to participate in Binance HODLer airdrop? Tutorial on how to participate in Binance HODLer airdrop How to participate in Binance HODLer airdrop? Tutorial on how to participate in Binance HODLer airdrop Mar 05, 2025 pm 04:39 PM

Binance HODL Airdrop Guide: Get Free Tokens with Easily! Binance has launched a new airdrop mechanism - Binance HODL airdrop, which allows you to get a random new coin airdrop by just holding BNB earning products! This article will explain Binance HODL airdrop in detail, including history query, participation steps and risk assessment. What is Binance HODL airdrop? Binance HODL airdrop is a periodic airdrop of new currency, and uses the "backward snapshot" mechanism to calculate the holdings and airdrop rewards of BNB's currency-making products. You only need to hold BNB current or regular currency earning products within a specific time period before the event announcement to receive the new currency rewards from Binance. It should be noted that when you see the airdrop announcement, the opportunity to participate is deadlined because the system has completed the snapshot. Need to participate

Binance download portal Binance download portal Mar 04, 2025 pm 05:33 PM

Article introduction Binance download portal varies by device and operating system. You need to first clarify the device type, then visit the official website Binance.com (note to check the domain name), look for the "Download" button in a prominent position on the official website, and select download according to different operating systems. The computer version download and install the installation program is prompted to install; Android needs to confirm security from the official website; iOS search and download it in the App Store. After downloading, you need to create or log in to an account, and pay attention to keeping the account information and keys.

See all articles