小编Vec*_*tor的帖子

使用Homebrew在OSX上安装适用于PHP 5.6的Xdebug

自制软件/ php tap 最近被弃用了.此弃用包括用于php安装的版本化公式(例如php56)以及各个扩展的安装(例如php56-xdebug).

现在用Homebrew安装PHP 5.6需要命令:brew install php@5.6.

安装PHP 5.6然后运行phpinfo()表明Xdebug未加载到扩展列表中,并且找不到调试器扩展.输出的选择性副本如下:

$ /usr/local/Cellar/php\@5.6/5.6.35/bin/php -r "phpinfo();"

PHP Version => 5.6.35

System => Darwin [my hostname] 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64
Build Date => Mar 31 2018 20:19:57
Configure Command =>  './configure'  '--prefix=/usr/local/Cellar/php@5.6/5.6.35' '--localstatedir=/usr/local/var' '--sysconfdir=/usr/local/etc/php/5.6' '--with-config-file-path=/usr/local/etc/php/5.6' '--with-config-file-scan-dir=/usr/local/etc/php/5.6/conf.d' '--enable-bcmath' '--enable-calendar' '--enable-dba' '--enable-exif' '--enable-ftp' '--enable-fpm' '--enable-intl' '--enable-mbregex' '--enable-mbstring' '--enable-mysqlnd' '--enable-opcache-file' '--enable-pcntl' '--enable-phpdbg' '--enable-phpdbg-webhelper' '--enable-shmop' '--enable-soap' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' …
Run Code Online (Sandbox Code Playgroud)

php macos homebrew xdebug deprecated

12
推荐指数
1
解决办法
4934
查看次数

标签 统计

deprecated ×1

homebrew ×1

macos ×1

php ×1

xdebug ×1