-
-
Save Basster/8441857 to your computer and use it in GitHub Desktop.
Activate xdebug 2.2.3 for AMPPS on OSX
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
On AMPPS 2.2 xdebug.so is included for all shipped PHP versions but not at the correct folders. | |
To activate it, follow these steps: | |
1.) make sure xdebug.so can be found in these locations: | |
/Applications/AMPPS/php-5.3/lib/extensions/xdebug.so | |
/Applications/AMPPS/php-5.4/lib/extensions/xdebug.so | |
/Applications/AMPPS/php-5.5/lib/extensions/xdebug.so | |
As AMPPS just changes a symlink when changing PHP versions, you need to edit the config files for each of the versions: | |
2.) Open the following files with a text editor and add this line to the bottom of the file: | |
zend_extension = /Applications/AMPPS/php/lib/extensions/xdebug.so | |
Files: | |
/Applications/AMPPS/conf/php-5.3.ini | |
/Applications/AMPPS/conf/php-5.4.ini | |
/Applications/AMPPS/conf/php-5.5.ini | |
Restart Apache, and you're done. | |
You can now switch between PHP versions and keep xdebug activated for all versions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment