標籤:binary 文字框 ica 斷點調試 phpize nbsp running strong 下載
1.下載xdebug檔案
http://xdebug.org/wizard.php
將phpinfo()的原始碼複製到文字框中,xdebug會提示如何配置和下載哪個版本的xdebug。
全部:
http://www.xdebug.org/download.php
phpize和./configure一定要使用你啟動並執行php對應的phpize和php-config
參考:xdebug官網:https://xdebug.org/docs/faq#custom-phpize
Q: How do I find which phpize to use?
A: Run: "phpize --help". This shows you the full path to phpize. This path should be the same as where you have the CLI binary, "php-config" and the "pear" and "pecl" binaries installed. If you run "php-config --version" it should show the same version of PHP that you‘re running. If it doesn‘t match up, and perhaps the wrong "phpize" binary is found on the path, you can run configure as follows:
- /full/path/to/php/bin/phpize
- ./configure --with-php-config=/full/path/to/php/bin/php-config
mac下內建php,命令列下的phpize是/usr/bin/phpize,而xampp中php對應的phpize是/Applications/XAMPP/xamppfiles/bin/phpize,且./configure --with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config
mac+phpstorm+xampp斷點調試