Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build xdebug on PHP 7.2 #934

Closed
JayyWalker opened this issue Dec 1, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@JayyWalker
Copy link

commented Dec 1, 2017

Output

#WARNING: it seems you are running PHPBrew under MacOS 10.11 or above with rootless enabled. it's recommended turn off rootless before your continue, or you may experience some issues.
Downloading https://pecl.php.net/rest/r/xdebug/stable.txt via curl extension
[==================================================================] 5.00/5.00B 100%
Downloading https://pecl.php.net/rest/r/xdebug/2.5.5.xml via curl extension
[==================================================================] 1.53/1.53KB 100%
Downloading https://pecl.php.net/rest/r/xdebug/stable.txt via curl extension
[==================================================================] 5.00/5.00B 100%
Downloading https://pecl.php.net/rest/r/xdebug/2.5.5.xml via curl extension
[==================================================================] 1.53/1.53KB 100%
Downloading http://pecl.php.net/get/xdebug-2.5.5.tgz via curl extension
[==================================================================] 272.94/272.94KB 100%
===> Extracting to /Users/username/.phpbrew/build/php-7.2.0/ext...
===> Installing xdebug extension...
Log stored at: /Users/username/.phpbrew/build/php-7.2.0/ext/xdebug/build.log
Changing directory to /Users/username/.phpbrew/build/php-7.2.0/ext/xdebug
===> Phpize...
===> Configuring...
Error: Command failed: ./configure --with-php-config=/Users/username/.phpbrew/php/php-7.2.0/bin/php-config >> /Users/username/.phpbrew/build/php-7.2.0/ext/xdebug/build.log 2>&1 returns:

Expected Result

I expect the xdebug extension to install

Command

phpbrew ext install xdebug

Build Log

https://gist.github.com/JayyWalker/12941843afada9cfa754e9f99f222af7#file-build-log

Platform

OS: OSX 10.11.6

Running PHP: 7.2

@morozov

This comment has been minimized.

Copy link
Member

commented Dec 1, 2017

Xdebug 2.5 doesn't support PHP 7.2. Please try installing 2.6.0-dev as:

phpbrew ext install github:xdebug/xdebug
@JayyWalker

This comment has been minimized.

Copy link
Author

commented Dec 4, 2017

Ahh, great. That worked, many thanks.

@morozov morozov closed this Dec 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.