Apache+php+mysql+phpmyadmin Simple Configuration

Source: Internet
Author: User
Tags win32 zip phpmyadmin
Busy all day without results, suddenly remembered to look at the Appserv configuration file, sure enough passed. In the joy of ... Write it down first.
To use the software version:
Apache_2.2.6-win32-x86-openssl-0.9.8e.msi
Mysql-5.0.45-win32.exe
Php-5.2.5-win32.zip
Phpmyadmin-2.11.2.2-all-languages.zip

1. Install Apache to d:serverapache2.2
2. Install MySQL to D:SERVERMYSQL5
3. Extract PHP to d:serverphp
4. Copy the Libmysql.dll under the PHP folder to the C:windowssystem32 directory;
5. Copy the php.ini-recommended under the PHP folder to c:windows and rename it php.ini
--------------------------------------------------------------------
6. Open the Apache configuration file httpd.conf
A. Add a line to a number of LoadModule:
LoadModule Php5_module D:/serverphpphp5apache2_2.dll
B. Modify DocumentRoot "E:/www" This is the root directory where you want to set the page.
c.# this should is changed to whatever your set DocumentRoot to.
<directory "E:/www" >
After you find this, change the path in the original <directory "" > to the same path as B.
D. Add index.htm index.php at DirectoryIndex index.html
E. Finally add a further section near <IfModule></IfModule>
<ifmodule mod_php5.c>
AddType application/x-httpd-php. php
AddType application/x-httpd-php. php3
AddType Application/x-httpd-php-source. Phps
</IfModule>
------------------------------------------------------------------------
7. Open the php.ini file under the C:windows
A. Remove the symbol before the statement
Extension=php_dbase.dll
Extension=php_gd2.dll
Extension=php_mbstring.dll
Extension=php_mysql.dll
Extension=php_mysqli.dll
Extension=php_sockets.dll
&nbs
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.