Php Apache + phpMyAdmin configuration method

Source: Internet
Author: User
Tags vc9

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

Decompress php-5.3.0-win32-vc9-x86.zip and name it PHP and put it on the E: disk (you like it ).
Copy all *. dll (16) in PHP to the C: \ Windows \ System32 directory.
Copy php. ini-development to the C: \ Windows directory and rename it php. ini.
Open the file and change extension_dir = "./" to extension_dir = "E:/PHP/ext" (directory of PHP). Pay attention to the semicolon.
Remove the semicolon before; extension = php_mbstring.dll and; extension = php_mbstring.dll.
Apache

Install apache_2.2.11-win32-x86-no_ssl.msi to your favorite directory. E: \ Program Files \ Apache2.2.
Open httpd in the E: \ Program Files \ Apache2.2 \ conf directory. conf file, add LoadModule php5_module E: \ PHP \ php5apache2_2.dll (the directory where the php5apache2_2.dll file is located) to the next line of # LoadModule vhost_alias_module modules/mod_vhost_alias.so ).
Change DocumentRoot "E:/Program Files/Apache2.2/htdocs" to DocumentRoot "E:/phpdoc" (phpdoc is the place where you will save your php file and create it ).
Change <Directory "E:/Program Files/Apache2.2/htdocs"> to <Directory "E:/phpdoc">.
Add AddType application/x-httpd-php. php to the downstream of AddType application/x-gzip. gz. tgz.
Add DirectoryIndex index.html index. php at the end of the document.
PhpMyAdmin

Prerequisites: (MySQL has been installed)

Decompress phpmyadmin-3.2.1-rc1-all-languages.zip and name it phpMyAdimn and put it in phpdoc.
Rename the config. default. php file in E: \ phpdoc \ phpMyAdmin \ libraries to the upper directory E: \ phpdoc \ phpMyAdmin \ to config. inc. php.
Open the file and add http: // localhost/phpmyadmin to the single quotation mark $ cfg ['pmaabsoluteuri '] =.
Add a cookie in the single quotes of $ cfg ['blowfish _ secret'] =.
Restart the computer

Unable to load mysql extension

Remove the semicolon in the php. ini configuration file; extension_dir =. ";" This is the little guy who gave me a headache for several 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.