9
8

More than 5 years have passed since last update.

PHP5.4に対応するXdebugは2.4.1

Posted at

コマンド

$pecl install xdebug-2.4.1
.
.
.
Build process completed successfully
Installing '/usr/lib64/php/modules/xdebug.so'
install ok: channel://pecl.php.net/xdebug-2.4.1
configuration option "php_ini" is not set to php.ini location
You should add "zend_extension=xdebug.so" to php.ini
$echo "zend_extension=/usr/lib64/php/modules/xdebug.so" > /etc/php.d/xdebug.ini

最新

$pecl install xdebug
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
pecl/xdebug requires PHP (version >= 5.5.0), installed version is 5.4.16
No valid packages found
install failed

見た

Xdebug: Downloads
5.3以下のサポート終了の記述はあったが、5.4のそれらしきはなかったので最新から下っていった。
PHP5.3系にxdebugをインストールする際のあれこれ | Skyarch Broadcasting

環境

  • CentOS7 64bit
  • PHP 5.4.16

リモートデバッグしようとしたが、9000ポートその他諸々でもタイムアウトするので、(xdebug.remote_log = "/log"でわかる)
ネットワークかセキュリティの問題が濃厚で挫折。

9
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
8