View Issue Details

IDProjectCategoryView StatusLast Update
0001584XdebugInstallationpublic2019-01-14 19:54
ReportertbackAssigned Toderick 
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionno change required 
PlatformLinuxOSdebianOS Versionstretch
Product Version2.6.1 
Target VersionFixed in Version2.7.0beta1 
Summary0001584: pecl install xdebug fails for php 7.3.0rc4 (in docker)
Description/tmp/pear/temp/xdebug/xdebug_compat.c:194:2: error: too few arguments to function 'php_setcookie'
Steps To ReproduceDockerfile:
FROM php:7.3.0RC4-fpm-stretch

RUN pecl install xdebug

docker build .
TagsNo tags attached.
Operating Systemdebian (docker image)
PHP Version7.3-dev

Activities

tback

2018-10-30 16:29

reporter   ~0004715

Last edited: 2018-10-30 16:29

View 2 revisions

This is my first xdebug issue, I don't know what I'm doing. I'm particularly unsure about severity 'block'.

derick

2018-10-30 16:31

administrator   ~0004716

Don't worry about the severity, I ignore these ;-)

If pecl is still trying to install xdebug 2.6.1, then this is expected, as Xdebug 2.6.x does not work with PHP 7.3. For PHP 7.3, you need the Xdebug 2.7.0beta1 release, which you can install with:

pecl install xdebug-beta

But please be aware that this likely will not work 100%. And I'm aware of a few crash bugs.

tback

2018-10-30 16:35

reporter   ~0004717

can confirm the workaround is working. thanks!

derick

2018-10-30 16:37

administrator   ~0004718

Closing this out then. Cheers!

marcosrocha

2019-01-14 19:54

reporter   ~0004802

Sorry to revive this topic. I'm using PHP 7.3.0 (cli) (built: Dec 7 2018 11:01:10) ( NTS ) and running pecl install xdebug-beta made my PHP stopped due segmentation fault: 11 when xdebug is enabled.
I'm on a Mac with High Sierra and installed PHP by brew. What can I do to make it work?

Issue History

Date Modified Username Field Change
2018-10-30 16:27 tback New Issue
2018-10-30 16:29 tback Note Added: 0004715
2018-10-30 16:29 tback Note Edited: 0004715 View Revisions
2018-10-30 16:31 derick Note Added: 0004716
2018-10-30 16:31 derick Assigned To => derick
2018-10-30 16:31 derick Status new => feedback
2018-10-30 16:35 tback Note Added: 0004717
2018-10-30 16:35 tback Status feedback => assigned
2018-10-30 16:37 derick Note Added: 0004718
2018-10-30 16:37 derick Status assigned => resolved
2018-10-30 16:37 derick Fixed in Version => 2.7.0beta1
2018-10-30 16:37 derick Resolution open => no change required
2019-01-14 19:54 marcosrocha Note Added: 0004802