1> download of individual parts
Currently under Windows development
PHP Official website: https://windows.php.net/download
PHP has TS (ThreadSafe) and NTS two versions, so follow PHP's tips If you use IIS as a FASTCGS development using NTS because FASTCGI is single threaded. Use the TS version if you want to serviceapi with apache2.x.
apache2.x Download Direct click on "Apache Lounge".
phpMyAdmin's official address: https://www.phpmyadmin.net/
2> Installation and Configuration
2.1 "Configure PHP
Find php.ini in the installation directory, mainly editing the Extension_dir and extension two fields:
Use an absolute path under Windows. Open the Extension=php_mysqli.dll at the same time.
A copy of the php.ini is then copied to the "C:\windows" directory.
2.2> Configuration phpMyAdmin
Unzip the phpMyAdmin into the Htdocs directory of the apache2.x. Locate and edit the phpmyadmin\libraries\config.default.php file. Edit the following fields
$cfg [' Servers '] [$i] [' Host ']->mysql install the server IP if local test is "localhost"
$cfg [' Servers '] [$i] [' Port ']->mysql default is 3306, if NULL is this value.
$cfg [' Servers '] [$i] [' user ']-->mysql login username, in fact, is also the login phpMyAdmin user name.
$cfg [' Servers '] [$i] [' Password ']->mysql's login password
$cfg [' Servers '] [$i] [' Auth_type ']->phpmyadmin landing type, generally select "Cookie"
$cfg [' Blowfish_secret ']->phpmyadmin login password, same as $cfg[' Servers ' [$i] [' Password ']. Because landing phpmyadmin is actually landing MySQL.
2.3> Configuration Apache2
Edit this configuration file in the Apache2 directory \conf\httpd.conf.
Configure the ServerRoot and Php7_module paths first. Then replace all "C:/apache24" in this configuration file with the actual installation path, and I'll replace it with "${srvroot}".
Add index.php,addtype add application/x-httpd-phh. php in DirectoryIndex.
In the CMD command-line window, check with HTTPD.EXE-T to see if the configuration file is ok.
Once the above configuration is complete, start the Apache input http://localhost/phpMyAdmin to see the results.
--------------------------------------------------------------------------------------------End--------------------------- -----------------------------------------------------------------
Php+apache2.x+phpmyadmin Installation and Configuration