Last active
August 28, 2017 20:21
-
-
Save phpdave/b5cd64e28602601b0e5b80ea2ad30ef4 to your computer and use it in GitHub Desktop.
Enabling xdebug on IBM i Zend Server 9 PHP7
This file contains hidden or 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
;Turn off zend debugger in /usr/local/zendphp7/etc/conf.d/debugger.ini | |
;zend_extension_manager.dir.debugger=/usr/local/zendphp7/lib/debugger |
This file contains hidden or 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
;Turn off output_buffering in php.ini | |
;output_buffering=4096 | |
output_buffering = Off |
This file contains hidden or 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
;Enable xdebug in the /usr/local/zendphp7/etc/conf.d/xdebug.ini file: | |
; Xdebug Configuration [xdebug] | |
zend_extension=/usr/local/zendphp7/lib/php_extensions/xdebug.so | |
xdebug.remote_enable=1 | |
;remote_host limits connection to the 1 ip address specified. To find your ip on windows run ipconfig /all | |
;xdebug.remote_host=<client's ip address> | |
xdebug.remote_port=9000 | |
xdebug.idekey = "NETBEANS" | |
;Set the url with ?XDEBUG_SESSION_START=PHPSTORM and set a header Cookie: XDEBUG_SESSION_START=NETBEANS | |
xdebug.remote_autostart = 1 | |
xdebug.remote_handler=dbgp | |
xdebug.remote_mode=req | |
; remote_connect_back allows for multiple connections from different IPs. This is great for situations in which multiple developers will be developing on the same instance. | |
xdebug.remote_connect_back = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment