: This article mainly introduces php55 + apache24 + mysql56 + xdebug configuration. if you are interested in PHP tutorials, refer to it. I recently started playing php and wrote down the configuration steps to avoid forgetting it later.
First, go to the official website to download php5.5, apache2.4, and mysql5.6. Be sure to download the 64-bit installation-free version for windows,
Then decompress the three folders to drive c:/Apache24, c:/php, c:/mysql-5.6.25-winx64
The reason why you decompress the package to drive C is that you can modify a lot of configurations to avoid errors.
Open c:/Apache24, search for "Listen 80", remove double quotation marks, modify the port to 8090, and add the following configuration to associate php
# php5 supportLoadModule php5_module c:/php/php5apache2_4.dllAddType application/x-httpd-php .php .html .htm# configure thepath to php.iniPHPIniDir "c:/php"
Find c:/php. ini-development, copy a copy and rename it php. ini, and open php. ini.
Find
; Extension_dir = "ext"
Move the previous one.
Find
; Extension = php_mysql.dll
; Extension = php_mysqli.dll
Remove the previous ones.
Then, add the support for xdebug.
[Xdebug]
Zend_extension = "C:/php/ext/php_xdebug-2.3.3-5.5-vc11-x86_64.dll"
Xdebug. idekey = "PhpStorm"
Xdebug. remote_enable = 1
Xdebug. remote_handler = "dbgp"
Xdebug. remote_host = "localhost"
Xdebug. remote_mode = "req"
Xdebug. remote_port = 9000
The php_xdebug-2.3.3-5.5-vc11-x86_64.dll needs to be downloaded separately and put it in this directory after the download
Download and install phpstorm. after running phpstorm, find file-> settings-> language & frameworks-> php
Configure interpreter first, that is, select the php root directory
Then go to dubug-> gbgp proxy,
PHP storm for ide key
Enter localhost
Enter 9001 in prot.
Finally, if you use chrome for debugging, download xdebug hepler
If you are using firefox, download easy xdebug
After downloading, you need to set their ide key to PhpStorm.
The above introduces the php55 + apache24 + mysql56 + xdebug configuration, including some content, and hope to be helpful to anyone interested in the PHP Tutorial.