ISPConfig 3.1.6 custom PHP's are not working (

Discussion in 'ISPConfig 3 Priority Support' started by faberchr, Jul 21, 2017.

  1. faberchr

    faberchr Member

    today i updated ISPConfig via Everything went ok as usual but all of my domains stopped working. The very first step I did to analyze this was calling PHP directly.

    All domains were set to use PHP as FAST-CGI.

    [email protected]:/usr# /opt/php-7.1/bin/php-cgi
    /opt/php-7.1/bin/php-cgi: error while loading shared libraries: cannot open shared object file: No such file or directory
    Now, i fix this error by switching to default PHP which is but I'd like to use again custom PHP's.

    [email protected]:/usr# apachectl -V
    AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:72
    Server version: Apache/2.4.18 (Ubuntu)
    Server built: 2017-06-26T11:58:04
    Server's Module Magic Number: 20120211:52
    Server loaded: APR 1.5.2, APR-UTIL 1.5.4
    Compiled using: APR 1.5.2, APR-UTIL 1.5.4
    Architecture: 64-bit
    Server MPM: prefork
    threaded: no
    forked: yes (variable process count)
    Server compiled with....
    -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
    -D HTTPD_ROOT="/etc/apache2"
    -D SUEXEC_BIN="/usr/lib/apache2/suexec"
    -D DEFAULT_PIDLOG="/var/run/"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="mime.types"
    -D SERVER_CONFIG_FILE="apache2.conf"

    [email protected]:/usr# lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 16.04.2 LTS
    Release: 16.04
    Codename: xenial
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This can not be caused by the ISPConfig update. I guess you did some OS updates as well, maybe some time ago and apache was not restarted since then. So you just notice the issue now after ISPConfig restarted apache.

    I guess the Linux system update removd the library mentioned in the error. You might have to compile a new custom PHP version with the current system libraries.
    pawan likes this.
  3. faberchr

    faberchr Member

    Thanks for your reply. I'll recompile PHP!
  4. faberchr

    faberchr Member

    It's working again! Thank you again.

    Anyway, a warning was raised when making PHP 7.1.7.
    /usr/bin/ld: warning:, needed by /usr/lib/x86_64-linux-gnu/, may conflict with
    /usr/bin/ld: warning:, needed by /usr/lib/x86_64-linux-gnu/, may conflict with
    But seems that everything goes as usual.

Share This Page