###前提・実現したいこと
以前構築したcentos7+phpの環境でxdebugの設定をしようと
sudo yum list | grep php | grep xdebug | less
を実行し以下の記述を見つけることができました。
php-pecl-xdebug.x86_64 2.2.7-1.el7 epel
php54-php-pecl-xdebug.x86_64 2.4.1-1.el7.remi remi-safe
php55-php-pecl-xdebug.x86_64 2.5.5-1.el7.remi remi-safe
php56-php-pecl-xdebug.x86_64 2.5.5-1.el7.remi remi-safe
php56u-pecl-xdebug.x86_64 2.5.5-1.ius.centos7 ius
php56u-pecl-xdebug-debuginfo.x86_64 2.5.5-1.ius.centos7 ius
php70-php-pecl-xdebug.x86_64 2.5.5-1.el7.remi remi-safe
php70u-pecl-xdebug.x86_64 2.5.5-1.ius.centos7 ius
php70u-pecl-xdebug-debuginfo.x86_64 2.5.5-1.ius.centos7 ius
php71-php-pecl-xdebug.x86_64 2.5.5-1.el7.remi remi-safe
php71u-pecl-xdebug.x86_64 2.5.5-1.ius.centos7 ius
php71u-pecl-xdebug-debuginfo.x86_64 2.5.5-1.ius.centos7 ius
php72-php-pecl-xdebug.x86_64 2.6.0-0.4.20170601.d82879d.el7.remi
###試したこと
php72-php-pecl-xdebug.x86_64の記述を見つけることができたので
以下コマンドを実行してみました。
[vagrant@localhost ~]$ sudo find / -name "*xdebug*" [vagrant@localhost ~]$ sudo find / -name "xdebug.so" [vagrant@localhost ~]$ sudo find / -name "xdebug" [vagrant@localhost ~]$ sudo find / -name "*xdebug*" -print [vagrant@localhost ~]$ sudo find / -name "xdebug.so" -print [vagrant@localhost ~]$ sudo find / -name "xdebug" -print [vagrant@localhost ~]$ sudo find / -name "xdebug" -type f [vagrant@localhost ~]$ sudo find / -name "xdebug.so" -type f [vagrant@localhost ~]$ sudo find / -name "*xdebug*" -type f
結果はいずれも何も表示されない状態でした。
###補足情報(言語/FW/ツール等のバージョンなど)
前述のようにphpのバージョンやライブラリも混在している状況で
どのように現状確認をしていいやらという状態なのですが
今回はphp7でxdebugを使用したいと考えています。
そのためxdebug.soのパスをphp.iniに設定したいのですが
その途中で起こった問題でした。
このような状況の際、確認するべきことや
解決方法などをご教授いただけましたら幸いです。
よろしくお願いいたします。
###追記
ご提示いただきましたコマンドの実行結果です
yum list installed | grep xdebug 何も表示されませんでした。 sudo yum list installed | grep php | grep xdebug | less 何も表示されませんでした。
回答2件
あなたの回答
tips
プレビュー