File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,3 +56,32 @@ When it receives the first request, PHP Storm should prompt you if the "Server"
5656Additional configurations may be required, such as configuring `` DBGp Proxy `` port.
5757
5858![ clnt-docker-xdebug-additional-config] ( screenshots/phpstorm-additional-xdebug-configs.png )
59+
60+ ## Xdebug and extensions (ionCube, SourceGuardian)
61+
62+ ionCube and SourceGuardian extensions are disabled by default in the Xdebug image.
63+
64+ As described in the Xdebug compatibility page: [ Xdebug Supported Versions and Compatibility] ( https://xdebug.org/docs/compat#compat )
65+
66+ > Xdebug does not work together with other extensions that deal with PHP's internals. This is due to compatibility problems with those modules.
67+
68+ Known issues including errors and / or segfaults may occur when these extensions are enabled with Xdebug.
69+
70+ If you do wish to try running them together you can enable ionCube and/or SourceGuardian within the php-debug container
71+ by creating the following overrides within your project and restarting the debug container.
72+
73+ ```
74+ ./.warden/warden-env.yml
75+ services:
76+ php-debug:
77+ volumes:
78+ - ./.warden/php.d/01-ioncube-loader.ini:/etc/php.d/01-ioncube-loader.ini
79+ - ./.warden/php.d/15-sourceguardian.ini:/etc/php.d/15-sourceguardian.ini
80+
81+ ./.warden/php.d/01-ioncube-loader.ini
82+ zend_extension=ioncube_loader.so;
83+
84+ ./.warden/php.d/15-sourceguardian.ini:
85+ extension=sourceguardian.so
86+
87+ ```
You can’t perform that action at this time.
0 commit comments