View Issue Details

IDProjectCategoryView StatusLast Update
0002218XdebugInstallationpublic2023-11-30 10:48
Reporterstoneym Assigned Toderick  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionwon't fix 
Product Version3.1.6 
Summary0002218: Since Mac upgraded to Sonoma 14.1.1 xdebug debug build can not be built
Description

I have run xdebug via mamp for two years on my macbook pro m1, about two weeks ago my macbook upgraded the os to sonoma 14.1.1 since which time I have been unable to do any web development.

I reinstalled MAMP using Homebrew via Terminal

MAMP was placed in my applications folder /Applications/MAMP with PHP versions up to 8.2

PHP appears to be in
stoneym@MacBook-Pro ~ % php -v
PHP 8.3.0 (cli) (built: Nov 21 2023 14:40:35) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.0, Copyright (c) Zend Technologies
with Xdebug v3.2.2, Copyright (c) 2002-2023, by Derick Rethans
with Zend OPcache v8.3.0, Copyright (c), by Zend Technologies
stoneym@MacBook-Pro ~ %

When I try to configure I get this error

configure: error: not supported. Need a PHP version >= 7.2.0 and < 8.2.0 (found 8.3.0)

I can run my developed website through localhost with the MAMP sever started but can not do any debugging.

Here's the installation wizard comments

Summary
Xdebug installed: 3.1.6
Server API: Apache 2.0 Handler
Windows: no
Zend Server: no
PHP Version: 7.4.33
Zend API nr: 320190902
PHP API nr: 20190902
Debug Build: no
Thread Safe Build: no
OPcache Loaded: yes
Configuration File Path: /Applications/MAMP/bin/php/php7.4.33/conf
Configuration File: /Applications/MAMP/bin/php/php7.4.33/conf/php.ini
Extensions directory: /Applications/MAMP/bin/php/php7.4.33/lib/php/extensions/no-debug-non-zts-20190902
You're already running the latest Xdebug version

Tagsxdebug
Operating System
PHP Version7.4.30-7.4.39

Activities

derick

2023-11-30 10:48

administrator   ~0006687

  1. Xdebug for PHP 8.3 has not been released yet (which is what you're trying to compile against, https://xdebug.org/docs/compat):
configure: error: not supported. Need a PHP version >= 7.2.0 and < 8.2.0 (found 8.3.0)

If you're compiling on the command line, then you need to pass in php -i information, and not the output of a different PHP version's phpinfo() output.

  1. The wizard talks about PHP 7.4 — which is not the same version as PHP 8.3, and hence it's a different PHP install.

  2. PHP 7.4 is no longer supported (https://www.php.net/supported-versions.php).

There is nothing in this report that is actionable on my side, so I am closing this.

Issue History

Date Modified Username Field Change
2023-11-29 13:57 stoneym New Issue
2023-11-29 13:57 stoneym Tag Attached: xdebug
2023-11-30 10:48 derick Assigned To => derick
2023-11-30 10:48 derick Status new => resolved
2023-11-30 10:48 derick Resolution open => won't fix
2023-11-30 10:48 derick Note Added: 0006687