Windows Server 2003 original installation Php+mysql+apache tutorial

Source: Internet
Author: User

Required Software:

Httpd-2.2.22-win32-x86-no_ssl.msiPhp-5.4.5-win32-vc9-x86.zipMysql-5.5.27-win32.msi

1. Install Apache, modify httpd.conf
Modify the httpd.conf file, the file is located under \apache2.2\conf
Find #loadmodule vhost_alias_module modules/mod_vhost_alias.so add a row
LoadModule Php5_module C:/php/php5apache2_2.dll
Find AddType application/x-gzip. gz. Tgz added
AddType application/x-httpd-php. php

Found it
<ifmodule dir_module>
DirectoryIndex index.html
</IfModule>
Add index.php after DirectoryIndex
<ifmodule dir_module>
DirectoryIndex index.php index.html
</IfModule>
DocumentRoot "C:/apache2.2/htdocs"//change according to your website directory

2.mysql installation, this step is not set, according to the requirements of installation can be
3.php Installation
Name Php.ini-production php.ini for security, backup php.ini-production
Open php.ini find; extension_dir = "ext"
Revision changed to
Extension_dir = "C:/php/ext"
Copy the php.ini to the C:\WINDOWS.

Note: In Windows Server2003 installed Php+mysql+apache, encountered Apache can't find php5apache2_2.dll this dynamic link library, resulting in Apache can not start, road is clearly right, backward online search, Because of the need to vc++2008 Runtime support, so download installed, and sure enough, success!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.