Some users engaged in program management development need to install Apache+MySQL+PHP environment in their WinXP computer, so how to operate? Today Xiaobian will share with you the specific installation steps.
Recommended: WinXP Professional installed version downloading
installation steps:
Throughout wamp environmental structures, the nature of work is as follows:
1 The configuration system can call the dll file in php by default.
Under windos, the dll file system is called by default. There are two ways to use it.
The first one is to copy the dll file to C:windows system32 (or C:WINNT system32 if it is Windows 2000).
The second is: append the address of the folder where the .dll suffix file is located to the path variable of the system. In this case, when the system is started, the dll file will be automatically loaded into the memory by default. in.
The third is: put php.ini; extension_dir = “. /” Modified to extension_dir = “D:/php5/ext”
Note that restarting the Apacche server will not take effect.
2, apache configuration, the essence is to let apache server software, able to parse .php files.
Configured in httpd.conf and php.ini respectively.
Modify in httpd.conf:
2-1, configure the root directory
The code is as follows:
DocumentRoot D:/wwwroot----- This is the first place, the red text part, modify the cost of the apache website code main folder, that is, the main folder of the project code.
"Directory “D:/wwwroot""------- This is the second place, ibid.
2-2, Configuring Directory Indexes
The code is as follows:
DirectoryIndex index.html index.html.var index.php index.html
2 -3, combination php and Apache2
The code is as follows:
LoadModule php5_module D:/php5/php5apache2.dll----------Load php in module mode
PHPIniDir “D:/php”-------------------- Specify php configuration file php.ini location
AddType application/x -httpd-php .php
AddType application/x-httpd-php .html--------------Add file types that can execute php
DirectoryIndex Index.php index.html index.html.var-----Configure the index directory default file
php.ini modify:
1, set the way PHP passes parameters
The code is as follows:
register_globals=Off/On
Set to Off, you can only use $_post[‘variable name’], $_GET[‘variable name’ ] to pass the parameter
set to On, you can directly use the $ variable name to get the passed Numerical
2, is provided to load dll module, the following must be configured.
The code is as follows:
;extension=php_gd2.dll---------GD library extension file, the user processes the image, such as generating a picture, the picture is cropped and compressed, and the picture is played Watermark and other operations
;extension=php_mbstring.dll--------large character set, support conversion between multiple character sets
;extension=php_mcrypt.dll
;extension= php_mysql.dll
;extension=php_mysqli.dll
Remove the semicolon and set the dll module to be loaded. The above are basically to be removed.
The difference between wamp and lamp environment is that the system loads dll files in php differently,
and the combination of apahce and php, under window and linux/unix Basically the same, both modify httpd.conf and php.ini to achieve.
Therefore, in the actual work process, the fastest way to manually configure the server is:
1, manually install the apache server, manually install and configure php.
2, in the previous configuration of the php.ini and httpd.conf file based on the two files directly copied to the relevant directory.
For httpd.conf, you need to modify the key directories, mainly:
Configuring the root directory
The code is as follows:
DocumentRoot D:/wwwroot ----- This is the first place, the red part, modify the cost of the apache website code main folder, that is, the main folder of the project code.
"Directory “D:/wwwroot""------- This is the second place, ibid.
Basically fix these two changes.
The above is the way to install the Apache+MySQL+PHP environment in WinXP system. I don't know how to install the user. Come and take a look at these steps.
Todays printers basically have the function of double-sided printing, but in general, one-sided prin
The Boot.ini file is mainly used to determine the operating system category that th
I believe that everyone has encountered a situation where the browser homepage has
Users who have used windowsXP system know that there is no advanced sleep function
Word software in "line spacing", how to solve
WinXP start menu can't automatically pop up submenu how to fix
How does WinXP install the camera driver? WinXP installation camera driver skills
Counting Windows Optimizer's 4 Application Tips
WinXP Task Manager is disabled by the administrator How to open?
Explain the event viewer under xp system
How to disable the "display" function in the WinXP control panel
The eight secret techniques let you use the computer without traces
How to retrieve the recycle bin under Windows XP system
How to solve the Dell notebook installation WinXP disk confusion problem
Use "Group Policy" to lock the IE homepage so that it will not be serialized.
How to use the problem recorder (PSR) under win7 system
Download: System Garbage Cleaner CCleaner 3.17
Win7 this file does not have a program associated with it to perform the operation.
Windows 8 open folder on the cause of suspended animation
Win7/win8.1 desktop right new folder disappeared quickly find method
How to delete the thumbs.db file in Win8 system?
Windows 10 Preview 10162 Tour: New features debut
What should I do if the svn icon does not display after Win10 is installed?
Win10 system prompts no valid IP configuration reasons analysis and two solutions graphic tutorial