为 Mac 安装 XDebug - 编译 XDebug
最编程
2024-04-22 17:52:42
...
1、解压下载完成后,进入该文件所在目录,解压它
gwh@GWdeMacBook-Pro [10:47:28] [~/Documents/Software/tools/xdebug]
-> % tar -xvzf xdebug-3.1.4.tgz
2、进入源文件夹
gwh@GWdeMacBook-Pro [10:50:21] [~/Documents/Software/tools/xdebug]
-> % cd xdebug-3.1.4
3、运行phpize
命令
gwh@GWdeMacBook-Pro [10:50:33] [~/Documents/Software/tools/xdebug/xdebug-3.1.4]
-> % phpize
4、通过configure
和 make
编译源文件
gwh@GWdeMacBook-Pro [10:50:48] [~/Documents/Software/tools/xdebug/xdebug-3.1.4]
-> % ./configure
gwh@GWdeMacBook-Pro [10:51:52] [~/Documents/Software/tools/xdebug/xdebug-3.1.4]
-> % make
编译完成后,会生成一个新的文件夹modules
,其中包含以下文件
上一篇: 选择投票 epoll 示例