Php55 + apache24 + mysql56 + xdebug configuration

Source: Internet
Author: User
: 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.

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.