Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    WebUI, PHP & xDebug

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 2 Posters 842 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JeGrJ
      JeGr LAYER 8 Moderator
      last edited by

      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

      Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

      If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        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.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • JeGrJ
          JeGr LAYER 8 Moderator
          last edited by

          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

          Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

          If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            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.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • JeGrJ
              JeGr LAYER 8 Moderator
              last edited by

              Nice! Thank you Jim :)

              Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

              If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                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.

                Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.