欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

为 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、通过configuremake 编译源文件

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,其中包含以下文件
在这里插入图片描述