• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Custom PHP directives not being applied? (don't show up when running phpinfo)

OlgaKM

Basic Pleskian
I am running PHP under Plesk 12.5 on Linux as FastCGI. I am trying to set up XDebug for one domain, and in order to do this, I'm putting the following directives into the text box "Additional configuration directives":

zend_extension = xdebug.so
xdebug.default_enable = 0
xdebug.overload_var_dump = 0
xdebug.trace_enable_trigger=1
xdebug.auto_trace=0
xdebug.collect_params=4
xdebug.show_mem_delta=1
xdebug.trace_output_dir=/var/tmp/xdebug

When I check the file /var/www/vhosts/system/stroyfon.com/etc/php.ini from the command line, the directives are there. However, if I run phpinfo through the browser, none of these settings are shown.

I am not sure if it's necessary when adding directives through the CP, but just in case, I have run `service httpd restart`.

What am I doing wrong?

Further testing: changing any of the other PHP settings (I tried toggling log_errors on and off) worked fine.
 
Last edited:
In reading the XDebug documentation, I found out that XDebug is incompatible with Ioncube Loader, which is by default enabled on plesk. The Ioncube Loader can be disabled by commenting out the following line in /etc/php.d/ioncube.ini:

; zend_extension=/usr/lib64/php/ioncube/ioncube_loader_lin_5.4.so
 
Back
Top