[SOLVED] Switching to PHP 8.3 increases CPU usage a lot!

Discussion in 'Server Operation' started by razor7, Nov 26, 2025 at 11:02 PM.

  1. razor7

    razor7 Member

    Hi!

    I have a website in joomla 5.4.1, if I switch php to 8.3 (8.3.28) the server goes crazy, see attachment, but if I downgrade to php 8.2 the very same site works just fine. Also If I don't switch but just restart the apache server, the load normalizes.

    I don't know even where to start, maybe a ¿wrong php config?

    Ubuntu server 24.04.3 LTS (Noble Numbat)) ISPConfig 3.3.0p3

    PHP packages installed through apt using ondrej php ppa repo

    Thanks in advise!
     

    Attached Files:

  2. razor7

    razor7 Member

    Forget it, It was xdebug, forgot to ln an ini file enabling debug mode to xdebug.

    Just in case, the issue solved like this:
    1. Xdbug 3 need to be configured properly, so in order to achieve that, I've created an ini file here /etc/php/xdebug-3-mgs.ini with this code
      Code:
      [xdebug]
      xdebug.mode = debug
      
    2. ln -s that ini file to:
      1. /etc/php/8.3/apache2/conf.d
      2. /etc/php/8.3/cgi/conf.d
      3. /etc/php/8.3/cli/conf.d
      4. /etc/php/8.3/fpm/conf.d
      5. /etc/php/8.3/phpdbg/conf.d
     
    till and ahrasis like this.

Share This Page