PHP version not serving

Discussion in 'Installation/Configuration' started by chrisc543, Dec 1, 2023.

  1. chrisc543

    chrisc543 New Member

    Hello,
    I have an older website trying to move to newer ISPConfig 3 server. The site requires PHP7.0 but when configured additional PHP version from system menu and select it gives an add error in log that it is still calling for php7.4.

    I canont find why it is calling for php7.4 when php7.0 is selected. If change php and fastcgi to default site will serve but certain functions do not work due to requiring PHP7.0.

    Web Server: Apache2
    PHP Error from client log:
    [proxy:error] [pid 2205025] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/lib/php7.4-fp m/web21.sock (*:80) failed

    Thanks,
    Chris
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Can you share the settings of the additional PHP version for 7.0?
     
  3. chrisc543

    chrisc543 New Member

  4. chrisc543

    chrisc543 New Member

    I did more debugging and found it does indeed show PHP7.0 when change to it on a phpinfo page. But then it says error connecting to database. Everything in database settings the same and change to php7.4 and it connects properly.
    Not sure if anyone has ideas on that? Thanks for the help.
     
  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    ahrasis likes this.

Share This Page