7/7/2023 0 Comments Download docker php xdebugZend_extension=/usr/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so Update the /private/etc/php.ini file to load the Xdebug extension. Sudo cp modules/xdebug.so /usr/local/php/extensions/ e.g., sudo mkdir -p /usr/local/php/extensions Since /usr/lib/php/extensions write operations are not permitted with SIP enabled, install the Xdebug extension under the /usr/local. Starting with OS X 10.11 El Capitan, system files and processes are protected with System Integrity Protection (SIP). Retry running phpize from within the extracted Xdebug source directory. e.g., sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target / If the Xcode commandline tools are already installed and/or you still get the missing include files message, force a reinstall of the commandline tools header files. You can install the Xcode commandline tools using the CLI. If the Xcode commandline tools are not installed, phpize outputs missing include file messages. Grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory Grep: /usr/include/php/Zend/zend_modules.h: No such file or directory Grep: /usr/include/php/main/php.h: No such file or directory Run phpize from within the extracted Xdebug source directory. Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend TechnologiesĮxtract the downloaded Xdebug tarball as described in the earlier instructions above. On Mac OS X Mojave, use the Xdebug extension included with the system in /usr/lib/php/extensions/no-debug-non-zts-20160303. Follow these instructions for PHP provided with Mac OS X to phpize Xdebug source, configure, build and install the PHP Xdebug extension.
0 Comments
Leave a Reply. |