WebUI, PHP & xDebug
-
Hi there,
just wanted to ask, if there's a specific reason xdebug module in PHP is loaded on stable releases (like 2.3.5, 2.4.0/2.4.1). As we have a pretty big configuration running (many VLANs, rules etc.) the WebUI can get laggy or slow (or even temporarily non-responsive) so since debugging a bit deeper, we found xdebug running. Disabling and restarting PHP-FPM made those 2 big hosts run way smoother than before, even if they still get laggy, performance has been way better.
So just asking if that was a simple oversight from some development version that made it into stable or if there's specific reason to run it?
Greets
Jens -
Probably because it was there before to help in debugging the GUI and packages.
Though the way PHP is handled now that could probably be removed as a dependency for everyone and kept as an optional package to install manually. It would still get activated that way, which may not have always been true in the past.
-
Thanks! So it shouldn't be a problem if manually removed. In big setups users have told us, that systems are now running more smoothly and responsive so it would probably be a good idea to disable its use per default und make it available optionally when needed for deep debugging.
Greets,
Jens -
We've changed the dependencies so that xdebug won't be required any longer, but will still be available in the repository to install manually. That isn't active in a snapshot yet, but should be later today/tomorrow. You can safely pkg delete -f php-xdebug-2.5.0 for now.
I don't think it will remove itself automatically though, but once it's not listed as a dependency, new installations won't have it and existing installs can use pkg delete (without the -f) to remove it.
-
Nice! Thank you Jim :)
-
Actually I've just upgraded a couple test systems here and the xdebug package is removed automatically, so there isn't anything to do manually, just upgrade when it's available.