Php7

  • Hello,


    There is many possibilities:


    • You use Ubuntu xenial which provide PHP 7.0 by default
    • You use Debian Jessie and you override the default packages file using the following listener and packages file: https://github.com/i-MSCP/imsc…ontrib/Listeners/Packages
    • You buy the PhpSwitcher plugin which will allow you to build and install any PHP version you want.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • thx, unfortunately i do not really know how to override the packages.


    my $DISTRO_PACKAGES_FILE = '/path/to/your/own/package/file';


    in this line i insert the xml file and after?

  • Morning,


    Assuming that you use Debian Jessie, you must in order:


    Code
    1. my $DISTRO_PACKAGES_FILE = '/path/to/your/own/package/file';

    to


    Perl
    1. my $DISTRO_PACKAGES_FILE = '/etc/imscp/listeners.d/debian-jessie-php7.0.xml';

    Once done, you must rerun the i-MSCP installer:

    Code
    1. # cd <imscp_archive>
    2. # perl imscp-autoinstall -d

    Be aware that the listener file and the packages file are meant to work with the i-MSCP 1.3.x branch. I would recommend you to wait the 1.3.6 version which will be released today.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hey Moonraker,


    ich empfehle dir, wirklich mal das PHPSwitcher-Plugin. Es macht das Leben wirklich deutlich leichter und kostet nicht die Welt. Die Vorteile liegen auf der Hand:


    1) Du Unterstützt die Entwickler des Plugins - und von i-MSCP
    2) Du sparst dir Stundenlanges einrichten, debuggen, fixen etc
    3) Du bist auch für zukünftige PHP-Versionen kompatibel - auch abwärts.


    Gruß Pinky

  • Hey Moonraker,
    wie Nuxwin schon sagte, wäre es eine Möglichkeit ein Ubuntu Xenial (16) aufzusetzen. Das liefert php7 dann in der Standardkonfiguration mit. Wenn du darauf dann imscp installierst hast du was du dir wünscht. Ein i-mscp mit php7, glänzend und shiny.


    Ich habe hier auch einen Server in dieser Konfiguration. Läuft prima.


    Gruß Pinky

  • @Moonraker136



    direkt php7 mitzuinstallieren bei debian mit den listeners als 5.6?


    You can have PHP 7.0 only with Debian jessie as explained here: Php7

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206