View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001240 | Xdebug | Installation | public | 2015-12-25 05:49 | 2015-12-29 19:50 |
Reporter | youness | Assigned To | derick | ||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | Linux | OS | Ubuntu | OS Version | ubuntu 14.04 |
Product Version | 2.4.0rc3 | ||||
Summary | 0001240: Unable to get working Xdebug with php7.0.1 | ||||
Description | I've compiled PHP7 myself, and I download the last version of Xdebug. I've used as installation method the Installation From Source,
| ||||
Steps To Reproduce | #required softwares ln -s /usr/lib/libc-client.a /usr/lib/x86_64-linux-gnu/libc-client.a && ln -s /usr/lib/insserv/insserv /sbin/insserv #php download and compile wget http://de1.php.net/get/php-7.0.1.tar.bz2/from/this/mirror -O php-7.0.1.tar.bz2 ./buildconf --force ./configure --enable-debug --enable-xdebug --prefix=/usr/php7 --with-libdir=/lib/x86_64-linux-gnu/ --with-zlib-dir --with-freetype-dir --enable-mbstring \ read -r -p "Php compile configure finish, Press space to continue..." key read -r -p "Php compile finish, Press space to continue..." key cp /usr/local/src/php-build/php-7.0.1/php.ini-production /usr/php7/lib/php.ini read -r -p "Php install finish, Press space to continue..." key read -r -p "Php fpm configuration finish, Press space to continue..." key xdebug installwget http://xdebug.org/files/xdebug-2.4.0rc3.tgz echo 'zend_extension="/usr/lib/xdebug.so"' >> /usr/php7/lib/php.ini | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 7.0.0-7.0.4 | ||||
|
Sorry for the inconvenient but my problem is already solved I had to PHP version running on the same machine that was the problem, thanks and have a good day. |
|
This is not a bug. Please refer to the support mailinglist for further related questions. You run your default "phpize" - instead, you need to run the one that you just installed into the /usr/php7 prefix. This means that the wrong PHP headers are being picked up (the ones without ZTS mode), and hence "compiler_globals" does not exist. You can fix this by calling the correct phpize. You can either prepend "/usr/php7/bin" to the path (preferred), or, just call the right phpize correctly with "/usr/php7/bin/phpize". |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-12-25 05:49 | youness | New Issue | |
2015-12-25 07:13 | youness | Note Added: 0003371 | |
2015-12-29 19:50 | derick | Note Added: 0003372 | |
2015-12-29 19:50 | derick | Status | new => resolved |
2015-12-29 19:50 | derick | Resolution | open => no change required |
2015-12-29 19:50 | derick | Assigned To | => derick |