Php55+apache24+mysql56+xdebug Configuration

Source: Internet
Author: User
Recently started to play PHP, the configuration steps to write down, so as not to forget later

First go to the official website to download php5.5,apache2.4,mysql5.6, note to download the Windows environment 64-bit free installation version,

Then extract the 3 folders to the C drive, i.e. c:/apache24,c:/php,c:/mysql-5.6.25-winx64

The reason for extracting to C drive is that it can modify many configurations and avoid errors.

Open C:/apache24, search for "Listen 80", remove the double quotes, modify the port to 8090, and then finally add the following configuration associated with 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/php.ini-development, copy the name to PHP.ini, open php.ini

Found it

; Extension_dir = "ext"

To take the front of;

Found it

; Extension=php_mysql.dll
; Extension=php_mysqli.dll

to take the front;

And then finally add 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

Php_xdebug-2.3.3-5.5-vc11-x86_64.dll needs to be downloaded and placed in this directory after downloading.

Download install Phpstorm, after running, find file->settings->language&frameworks->php

Configure interpreter first, that is, choose the root directory of PHP

Then enter DUBUG->GBGP Proxy,

IDE Key fill Phpstorm

Host fill localhost

Prot Fill 9001

Finally, if you are using Chrome to debug, download Xdebug Hepler

If you are using Firefox, download easy Xdebug

After downloading, you need to configure their IDE key to Phpstorm

The above describes the Php55+apache24+mysql56+xdebug configuration, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • 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.