What is the relationship between PHP in xdebug-* and PHP in MacOS?

Source: Internet
Author: User
I'm trying to install xDebug as per the steps on this page, but it doesn't seem quite understandable after & quot; brewinstallphp54-xdebug & quot. I understand this step. xdebug is installed on the PHP that comes with Mac, but the following steps start to operate on the MAMP: c... i'm trying to install xDebug as per the steps on this page, but it doesn't seem quite understandable after the "brew install php54-xdebug" step.
I understand this step. xdebug is installed on the PHP that comes with Mac, but the following steps start to operate on the MAMP:

Cd/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug

Why? Is it because the PHP in Mac comes with the same thing as the PHP In MAMP?

Reply content:

I'm trying to install xDebug as per the steps on this page, but it doesn't seem quite understandable after the "brew install php54-xdebug" step.
I understand this step. xdebug is installed on the PHP that comes with Mac, but the following steps start to operate on the MAMP:

Cd/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug

Why? Is it because the PHP in Mac comes with the same thing as the PHP In MAMP?

It does not matter.
Two php versions exist in the system at the same time. The default version is the php version that comes with the system. Then you have installed MAMP, which contains a php version, but only modifies the PATH of the system PATH, will first find the MAMP php

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.