Cant Access Admin Control panel after upgrade

Discussion in 'Installation/Configuration' started by kopite, Dec 9, 2019.

  1. kopite

    kopite New Member

    Hey all,
    I did an upgrade on my server earlier today and now I get a 500 error whenever i try and access the control panel

    I've checked the nginx logs and there`s the follorwing error:

    2019/12/09 13:34:54 [error] 16243#16243: *5 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function mysqli_init() in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 83" while reading response header from upstream, client: , server: _, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/ispconfig.sock:", host:​


    I've Checked PHP info and it's still showing PHP Version 5.6.40-0+deb8u4

    SO I'm not sure what to do :S
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The error means that the PHP that is used to run the ISPConfig interface lacks mysql support. Just a guess, did you install additional PHP versions by using the sury.org repository?
     
  3. kopite

    kopite New Member

    I dont think so.

    my sources file is only debian.org links and then stuff for postgresql

    I checked the history for apt and php5-mysql was autoremoved today as it was no longer needed. I can't seem to reinstall this either.
     
  4. kopite

    kopite New Member

    I did do a Server upgrade from Jessie to Stretch earlier this year but Everything had been fine since then..
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Read the ISPConfig Perfect Server Guide for Debian Stretch. Check all PHP modules it tells to install are installed on your system.
    Then check what PHP version is used on command line and for web server.
     
  6. kopite

    kopite New Member

    After a bit more messing I updated the location for the sock and everything seems to be working now :D
     

Share This Page