Results 1 to 2 of 2

Thread: Debian 9 with php 5.4 and 7.1

  1. #1
    Join Date
    Mar 2012

    Debian 9 with php 5.4 and 7.1

    Before Debian 8 update we had CB 2 with php-fpm (5.4 and 7.1). Nginx as reverse proxy.
    Today we updated debian and after that we have some problems.

    root@naruto:/usr/local/directadmin/custombuild/build versions
    php 5.3, 5.4, 5.5 can not compile against openssl 1.1.0 or higher. Try php 5.6 or higher.
    Everything is understood for me but we can't remove PHP 5.4 now because we must upgrade our sites.
    I know that the problem stems from a higher version of openssl in Debian 9, but it have some advantages, for examle HTTP/2

    Of course PHP 5.4 works on Debian 9 because we compiled this version before system upgrade. Now we can't update/ recompile PHP. If we do that, we lost PHP 5.4
    Is any cheat/ possibility to run PHP 5.4 with PHP 7.1 on Debian 9?
    Maybe can i skip first php version when i do build php?


    Please move this post to CustomBuild 2.0 Sub-Forum
    Last edited by JohnyByk; 01-19-2018 at 03:18 PM.

  2. #2
    Join Date
    Jan 2019
    I'm having the same issue.

    I solved it partially by downgrading to OpenSSL 1.0.2q. I did that by compiling from source en then changing the simlink to the new binary.

    But now the build script has n issue with systemd, which is installed but it's missing a library of sorts. (pre install packages are installed)

    checking for sd_notify in -lsystemd-daemon... no
    checking systemd/sd-daemon.h usability... yes
    checking systemd/sd-daemon.h presence... yes
    checking for systemd/sd-daemon.h... yes
    configure: error: Your system does not support systemd.
    *** There was an error while trying to configure php. Check the configure file
    So, it's a route with more than one hurdle.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts