Simple configuration of apache + php + mysql + phpmyadmin-PHP source code

Source: Internet
Author: User
Ec (2); busy for a whole day without any results, suddenly remembered to look at the appserv configuration file, it was indeed passed. In joy... Write down first. Software Version: apache_2.2.6-win32-x86-openssl-0.9.8e.msimysql-5.0.45-win32.exephp-5.2.5-Win32.zipphpMyAdmin-2.11.2.2-all-languages.zip1. Install ap script ec (2); script

After a full day of busy work, I suddenly thought of the appserv configuration file. In joy... Write down first.
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. Decompress php to d: serverphp
4. Copy libmysql. dll in the php folder to the c: windowssystem32 directory;
5. Copy php. ini-recommended in the php folder to c: windows and change it to php. ini.
--------------------------------------------------------------------
6. Open the apache configuration file httpd. conf.
A. Add a row in many loadmodules:
LoadModule php5_module d:/Serverphpphp5apache2_2.dll
B. Modify DocumentRoot "e:/www". This is the root directory of the webpage. You can set it wherever you want.
C. # This shoshould be changed to whatever you set DocumentRoot.

After finding this To the same path as B.
D. Upload index.htm index. php at DirectoryIndex index.html.
E. Finally Add another section nearby

AddType application/x-httpd-php. php
AddType application/x-httpd-php. php3
AddType application/x-httpd-php-source. phps

------------------------------------------------------------------------
7. Open the php. ini file in c: windows.
A. Remove the symbol before the following 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

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.