netbeans+phpstudy
netbeans下载链接(免费)
https://netbeans.org/downloads/index.html
备注:netbeans只用于编译php程序,如果要调试php程序,还需安装xdebug。
由于phpstudy功能强大,且内置xdebug,很方便,因此推荐安装phpstudy
phpstudy下载链接(免费)
http://www.phpstudy.net/a.php/211.html
备注:phpstudy配置xdebug环境
第一步:勾选phpstudy里面的xdebug选项。
第二步:点开php-ini
第三步:找到xdebug,并添加如图所示的代码。
第四步:重启apache
第五步:查看phpinfo()是否配置成功
最后:xdebug配置完毕!