mod_fcgid - Debian 8, PHP 7, Apache, ISPConfig 3

Discussion in 'ISPConfig 3 Priority Support' started by inside83, Jan 4, 2016.

  1. inside83

    inside83 Member

    Hello!

    I followed these two tutorials to install ISPConfig 3 with Apache on Debian 8 and PHP 7:
    https://www.howtoforge.com/tutorial/perfect-server-debian-8-jessie-apache-bind-dovecot-ispconfig-3/
    https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/

    When I transfer my WordPress site (WordPress with WooCommerce) from Perfect Server Debian 7 with PHP 5.4 to this new server, with:
    • PHP = Fast-CGI and
    • PHP version = 7.0.0.,
    site doesn't open and error log says:
    Code:
    [Mon Jan 04 04:33:25.244931 2016] [fcgid:warn] [pid 26708] [client xxx.xxx.xxx.xxx:5137] mod_fcgid: stderr: PHP Fatal error:...
    But if I switch to:
    • PHP = PHP-FMP and
    • PHP version = Default,
    everything works fine.

    Please help!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Test that the php 7 that you compiled is really working:

    /opt/php-7.0.0/bin/php-cgi --version
     
  3. inside83

    inside83 Member

    the output is:
    Code:
    root@vps4:~# /opt/php-7.0.0/bin/php-cgi --version
    PHP 7.0.0 (cgi-fcgi) (built: Dec 29 2015 06:36:19)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    root@vps4:~#
    
     
  4. inside83

    inside83 Member

    I forgot to mention that this issue is with this WordPress site and one other site.
    OwnCloud, for instance, works great when:
    • PHP = Fast-CGI and
    • PHP version = 7.0.0.
    is selected.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    and the wordpress version and plugins in this site are the latest versions so they are compatible with PHP 7? Not all old sites / scripts can use php 7 as php 7 dropped the mysql_* functions and supports only mysqli or pdo drivers and other things changed as well, so this new PHP release is not compatible with all old sites.
     

Share This Page