4
爲甲基苯丙胺安裝的Xdebug在http://xdebug.org/docs/install我讀:與PECL
Installing with PEAR/PECL is as easy as:
# pecl install xdebug
當我嘗試,我得到的錯誤:
$ pecl install xdebug
bash: pecl: command not found
再次嘗試,從包含PECL的文件夾:
cd /Applications/MAMP/bin/php/php5.5.3/bin/
bash-3.2$ ./pecl install xdebug
No releases available for package "pecl.php.net/xdebug"
install failed
但是,訪問pecl.php.net/xdebug重定向到http://pecl.php.net/package/xdebug,其中表明包裝明顯存在。
我還能試試嗎?
這對我來說在linux mint上是這樣的,你可以考慮把它作爲sudo運行。 –