Created
February 5, 2016 00:45
-
-
Save hacfi/e1484bdc7586a63accf0 to your computer and use it in GitHub Desktop.
OS X homebrew php 5.6 enable/disable xdebug extension script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sed -i.default "s/^zend_extension=/;zend_extension=/" /usr/local/etc/php/5.6/conf.d/ext-xdebug.ini | |
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.php56.plist | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php56.plist | |
echo "xdebug disabled" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sed -i.default "s/^;zend_extension=/zend_extension=/" /usr/local/etc/php/5.6/conf.d/ext-xdebug.ini | |
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.php56.plist | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php56.plist | |
echo "xdebug enabled" |
Author
hacfi
commented
Feb 5, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment