PHP 7.4

Discussion in 'ISPConfig 3 Priority Support' started by Marcio Urakawa, Jun 17, 2020.

  1. I verified that the server is now with the new version of PHP 7.4.

    Apparently things are normal, only my jobqueue stopped, did anyone have the same problem ?

    I was analyzing some logs:
    Code:
     tail /var/log/ispconfig/cron.log
    qua jun 17 16:20:01 -03 2020 #3 {main}
    qua jun 17 16:20:01 -03 2020 thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 83
    qua jun 17 16:20:01 -03 2020 thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 83
    qua jun 17 16:20:01 -03 2020 PHP Fatal error:  Uncaught Error: Call to undefined function mysqli_init() in /usr/local/ispconfig/server/lp:83
    qua jun 17 16:20:01 -03 2020 Stack trace:
    qua jun 17 16:20:01 -03 2020 #0 /usr/local/ispconfig/server/lib/app.inc.php(47): db->__construct()
    qua jun 17 16:20:01 -03 2020 #1 /usr/local/ispconfig/server/lib/app.inc.php(232): app->__construct()
    qua jun 17 16:20:01 -03 2020 #2 /usr/local/ispconfig/security/check.php(32): require('/usr/local/ispc...')
    qua jun 17 16:20:01 -03 2020 #3 {main}
    qua jun 17 16:20:01 -03 2020 thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 83
     
  2. I disabled version 7.4 and I'm back to 7.3 and it's working again.
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If you change the default PHP version the Operating System uses, that breaks ISPConfig.
    The additional PHP versions -document states that the default PHP version must be changed back to what is it was originally. The additional PHP versions are for website use, a website can use any PHP version that is installed on that host.
     
  4. I configured it for the previous version and everything went back to normal.
    So, I really won't be able to use the upgrade on a day to day.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Marcio Urakawa likes this.

Share This Page