View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000945 | Xdebug | Installation | public | 2013-05-06 16:44 | 2013-05-18 21:23 |
Reporter | dotnetCarpenter | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | no change required | ||
Platform | Darwin | OS | OS X | OS Version | 10.7 |
Product Version | 2.2.2 | ||||
Summary | 0000945: configure uses wrong path to php | ||||
Description | When installing Xdebug on a machine with php pre-installed (like Mac OS X) you'll want to keep your own version of php separate from the Apple supplied one. On *nix system, the default way is to have your own version of php in the /usr/local/bin directory. The Xdebug install process ignore this practice and uses the version in /usr/bin instead. Subsequently, hooking Xdebug to the wrong php version/process. I have MAMP installed and the steps to reproduce, assumes you have an installation of MAMP. This bug should be reproducible on any *nix machine, though. | ||||
Steps To Reproduce | Symlink your php path to MAMP's php version: Follow the guide from http://xdebug.org/wizard.php | ||||
Additional Information | This could be an issue in upstream phpize | ||||
Tags | No tags attached. | ||||
Operating System | Mac OS X 10.7.5 Lion | ||||
PHP Version | 5.4.10-5.4.14 | ||||
|
This not a bug in anything. If you're trying to trick the PHP configure system then this is what you get. Simple provide --with-php-config=/correct/path/php-config to the ./configure command and it should work. |
|
Thanks Derrick. Could you document it, when analyzing the phpinfo and config path differs from /usr/bin? ./configure --with-php-config=/Applications/MAMP/bin/php/php5.4.10/conf/php.ini I'm still confused to who is maintaining the configure script. Is it Xdebug or the PHP team? |
|
The option doesn't take a php.ini file, it wants a path to "php-config". The configure script comes through phpize from the PHP build system. |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-05-06 16:44 | dotnetCarpenter | New Issue | |
2013-05-07 07:37 | derick | Note Added: 0002456 | |
2013-05-07 07:37 | derick | Status | new => resolved |
2013-05-07 07:37 | derick | Resolution | open => no change required |
2013-05-07 07:37 | derick | Assigned To | => derick |
2013-05-07 16:46 | dotnetCarpenter | Note Added: 0002459 | |
2013-05-07 16:46 | dotnetCarpenter | Status | resolved => feedback |
2013-05-07 16:46 | dotnetCarpenter | Resolution | no change required => reopened |
2013-05-18 21:23 | derick | Note Added: 0002471 | |
2013-05-18 21:23 | derick | Status | feedback => resolved |
2013-05-18 21:23 | derick | Resolution | reopened => no change required |