PHP apache+phpmyadmin Configuration Method _win Server

Source: Internet
Author: User
Tags vc9 win32 phpmyadmin

Version:

Php-5.3.0-win32-vc9-x86.zip
Apache_2.2.11-win32-x86-no_ssl.msi
Phpmyadmin-3.2.1-rc1-all-languages.zip
Mysql-5.4.1-beta-win32.msi
Php

Name the Php-5.3.0-win32-vc9-x86.zip unzip PHP and put it under E: (You Like).
Copy all the *.dll (16) in PHP to the C:\Windows\System32 directory.
Copy the php.ini-development to the C:\Windows directory and rename it to PHP.ini.
Open the file, will; Extension_dir = "./" Change to Extension_dir = "E:/php/ext" (PHP directory), note the semicolon.
Remove, Extension=php_mbstring.dll, and Extension=php_mbstring.dll before the semicolon.
Apache

Install the Apache_2.2.11-win32-x86-no_ssl.msi to your favorite directory. such as E:\Program files\apache2.2.
Open the httpd.conf file under the E:\Program files\apache2.2\conf directory in #loadmodule vhost_alias_module modules/mod_vhost_ The next line of alias.so plus LoadModule php5_module E:\PHP\php5apache2_2.dll (the directory where the Php5apache2_2.dll files are located).
Change the DocumentRoot "E:/program Files/apache2.2/htdocs" to DocumentRoot "E:/phpdoc" (Phpdoc is the place to save your PHP files later, created by you).
Change the <directory "E:/program Files/apache2.2/htdocs" > To <directory "E:/phpdoc" >.
In the downlink of AddType application/x-gzip gz tgz plus AddType application/x-httpd-php. php.
At the end of the document, add DirectoryIndex index.html index.php.
phpMyAdmin

Provided that (MySQL is installed)

Name the Phpmyadmin-3.2.1-rc1-all-languages.zip decompression as PHPMYADIMN and put it in the Phpdoc.
Place the config.default.php file in the E:\phpdoc\phpMyAdmin\libraries into the upper directory, E:\phpdoc\phpMyAdmin\, and rename to config.inc.php.
Open the file and add http://localhost/phpmyadmin to the single quotation mark in $cfg[' Pmaabsoluteuri '.
Add a cookie to the single quotation mark in $cfg[' blowfish_secret '] = ';
Restart the computer

Unable to load MySQL extension issue

Note the php.ini configuration file; Extension_dir = "./before the semicolon removed. “;” It was this little guy that gave me a headache for days.

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.