Many users need to install and configure Apache+PHP+Mysql+Zend in xp system because of work or personal needs, but I don't know how to install and configure. Today, Xiaobian teaches Apache+PHP+Mysql+Zend installation and configuration. Methods.
Required Software:
apache_2.0.58-win32-x86-no_ssl.msi >>>>>>>>>>>> ;>>http://archive.apache.org/dist/httpd/Each version has
php-5.1.6-Win32.zip
ZendStudioServer-5.1.0a- Windows-i386.exe
mysql-5.0.19-win32
phpMyAdmin-2.9.1
Installation:
Apahce+PHP+MySQL Installation and Configuration
1. Install apache_2.0.58-win32-x86-no_ssl and follow the prompts to set the program installation path (my path is d:/usr/). After the installation is complete, if you move the APACHE directory, the parameters under apache2 must be changed. Modify the configuration file httpd.conf under the apache configuration directory CONF, in this case d:/usr/apache2/conf/httpd.conf< Br>
(1) ServerRoot: apche program directory (in this case d:/usr/apache2)
(2) ServerAdmin: server administrator's E-mail
( 3) port: service port, default 80
(4) ServerName: the network ID of the computer, must be consistent with the actual, otherwise there may be some unexpected problems
(5) DocumentRoot: default Web file directory (in this case d:/usr/www)
(6) DirectoryIndex: default page, add php support, (this example below)
DirectoryIndex index.html index. Htm index.php index.php3 index.php4
(7)ScriptAlias (script alias), directory of CGI programs
ScriptAlias /cgi-bin “d:/usr/apache2/cgi -bin”
2. Install php-5.1.6-Win32 and extract the path of the decompression (in this case d:/usr/php5).
3. Configure PHP and Apache to parse the php program.
PHP Configuration:
Rename the “php.ini-dist” in the PHP directory to “php.ini” and modify the
php.ini as follows:
(1) doc_root: Consistent with ATPOW's HTDOCS, this example is d:/usr/www
(2) extension_dir This example is d:/usr/php5/ext
(3) include_path This example is d:/usr/php5/includes
(4) Remove the semicolon before the extension=php_mysql.dll and copy the LIBMYSQL.DLL file in the php directory to c :winntsystem32下
Apache configuration:
Add the following statement at the end of the APACHE configuration file to support the php program:
ADDlanguage zh-cn .cn
defaultlanguage zh-cn
AddDefaultCharset GB2312
ScriptAlias /php/"d:/usr/php5/"
LoadFile d:/usr/php5/php5ts. Dll
LoadModule php5_module d:/usr/php5/php5apache2.dll
PHPINIDir d:/usr/php5/php.ini
AddType application/x-httpd-php .php .php3 .php4 .phtml
AddType appl Ication/x-httpd-php-source .phps
The above add content directory part and the actual inconsistency of self-modification
When you first contact WinXP, you must have used the search function. When searching, a cute cartoon
The IE browser in the XP system may be the browser used by most users, but some users will find that
I recently encountered such a thing, in the Windows XP operating system double-click can not open th
Google test IPv6 new page came out, but many Windows XP users can not access, but Vista users can ac
How to get back to the Windows XP style quick launch bar trick
Windows Live Mesh History: Birth in April 2008 (2)
WinXP system to open the game error occurred an unknown directX error how to do?
Master teaches you to play personalized boot operation skills
Teach you how to open aspx files.
The secret technology of speeding up the boot and shutdown speed in the
Tip: Windows system users get rid of hacker attacks (2)
Retrieve hidden inactive icon items lost in system
Win XP group policy is reasonably set to make the system more secure (2)
9 major reasons and solutions for high CPU usage
How to add "password management" to WinXP in the control panel
Win10 9926 preview version of the three ways to add broadband dialing
How to install UG10 on Windows 10 system
Tip: Disable the Modern Lock Screen feature of Win8/Win8.1
Win + T shortcuts Display the thumbnail of the taskbar window and press Enter to switch
Summary of usage of Linux chmod commands
How does Win10 directly delete files without going through the recycle bin
How to water the Alipay ant forest?
Connection method for sharing printers on different network segments of LAN in Win7 environment