MantisBT - Xdebug
View Issue Details
0001584XdebugInstallationpublic2018-10-30 16:272018-10-30 16:37
tback 
derick 
normalblockalways
resolvedno change required 
Linuxdebianstretch
2.6.1 
2.7.0beta1 
debian (docker image)
7.3-dev
0001584: pecl install xdebug fails for php 7.3.0rc4 (in docker)
/tmp/pear/temp/xdebug/xdebug_compat.c:194:2: error: too few arguments to function 'php_setcookie'
Dockerfile:
FROM php:7.3.0RC4-fpm-stretch

RUN pecl install xdebug

docker build .
No tags attached.
Issue History
2018-10-30 16:27tbackNew Issue
2018-10-30 16:29tbackNote Added: 0004715
2018-10-30 16:29tbackNote Edited: 0004715bug_revision_view_page.php?bugnote_id=4715#r456
2018-10-30 16:31derickNote Added: 0004716
2018-10-30 16:31derickAssigned To => derick
2018-10-30 16:31derickStatusnew => feedback
2018-10-30 16:35tbackNote Added: 0004717
2018-10-30 16:35tbackStatusfeedback => assigned
2018-10-30 16:37derickNote Added: 0004718
2018-10-30 16:37derickStatusassigned => resolved
2018-10-30 16:37derickFixed in Version => 2.7.0beta1
2018-10-30 16:37derickResolutionopen => no change required

Notes
(0004715)
tback   
2018-10-30 16:29   
This is my first xdebug issue, I don't know what I'm doing. I'm particularly unsure about severity 'block'.

(0004716)
derick   
2018-10-30 16:31   
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.
(0004717)
tback   
2018-10-30 16:35   
can confirm the workaround is working. thanks!
(0004718)
derick   
2018-10-30 16:37   
Closing this out then. Cheers!