Author Topic: Xdebug on php-fpm enabled but not work  (Read 918 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Xdebug on php-fpm enabled but not work
« on: February 06, 2024, 09:28:52 AM »
Hi guys, I have enabled xdebug into option list of phpfpm 8.1 and 8.2 but not work on both.

Anyone can help me how to enable xdebug on phpfpm?

Latest version of cwp.
Webserver Apache + Nginx as reverse proxy
« Last Edit: February 06, 2024, 09:43:45 AM by f3biz »

Offline
*****
Re: Xdebug on php-fpm enabled but not work
« Reply #1 on: February 06, 2024, 12:26:55 PM »
Should be as simple as selecting that option in PHP-FPM, saving the custom config, and then rebuilding.

Can you please advise of the following:

What 'errors' and/or 'messages' are being displayed?

What distro are you using?

Offline
*
Re: Xdebug on php-fpm enabled but not work
« Reply #2 on: February 06, 2024, 02:17:34 PM »
Ohhh, I have to recompile it?

I think that is only necessary to enable it.

Yes, it works. I have recompiled the phpfpm version and now work good.

Thank you so much guy

Offline
*****
Re: Xdebug on php-fpm enabled but not work
« Reply #3 on: February 06, 2024, 05:24:13 PM »
Yes, those are compile-time options, not options you can compile on and off. You can set whatever xdebug settings you want in those php versions respective php.ini