Probleme PHP Switcher

  • Hallo,
    ich habe mir den phpswitcher 2.2.2 installiert. Als zu installierende Version wird mir nur 7.0 angeboten.
    Wenn ich versuche 5.6 zu installieren, endet perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl 5.6 mit der Fehlermeldung:


    Code
    1. Err http://security.debian.org/ wheezy/updates/main libgd2-xpm-dev amd64 2.0.36~rc1~dfsg-6.1+deb7u2
    2. 404 Not Found [IP: 212.211.132.32 80]
    3. [FATAL] main::builddeps: An error occurred while installing build dependencies: Failed to fetch http://security.debian.org/pool/updates/main/libg/libgd2/libgd2-xpm-dev_2.0.36~rc1~dfsg-6.1+deb7u2_amd64.deb 404 Not Found [IP: 212.211.132.32 80]
    4. E: Unable to fetch some archives


    Arbeitet die 2.2.2 nicht mehr mit Debian 7 ?
    imscp-Versio 1.3.x


    Ein schönes Wochenende


    Wolfgang

  • @Wolle_GC


    The package has been updated lately by Debian security team. Please, before running the PHP compiler, do an apt-get update.


    Version that you tried to fetch: libgd2-xpm-dev_2.0.36~rc1~dfsg-6.1+deb7u2_amd64.deb
    Current version: libgd2-xpm-dev_2.0.36~rc1~dfsg-6.1+deb7u3_amd64.deb


    Note: I'll force distribution package index update in next version to avoid such error.

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

  • Well, I did apt-get update OK
    then perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl 5.6 OK
    But when I install and activate phpswitcher 2.2.2 it only shows php 7.0

  • @Wolle_GC


    Can you give me an access to the server?

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

  • @Wolle_GC


    Job done.

    • I've updated your server with latest 1.3.x branch state (i-MSCP)
    • I've updated your PhpSwitcher plugin to version 2.2.3 (version that is not released yet)
    • I've rebuilded your PHP 5.6 version to version 5.6.22
    • I've registered the PHP 5.6.22 version in the panel through the PhpSwitcher interface (admin side).

    You can now select that new PHP version through the interface of your customers.


    BTW: In my opinion, you've not understood how the PhpSwitcher plugin work. You should read the documentation again. E.g, after building a new PHP version, you must register it through the PhpSwitchcer interface. See http://wiki.i-mscp.net/doku.ph…hp_version_in_phpswitcher


    Thank you for using i-MSCP.

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

  • Oh, what a beautiful morning!
    At last all works fine. Thousand thanks to Nuxwin!!! For me it's a big problem, 'cause my admin is gone, and now an old man has to learn many new things. Near it I'm afraid doing something wrong. ?(


    Have a fine week



    Wolfgang

  • Habe auf die Version 1.2.17 geupdatet, wollte nun auch noch PHPSwitcher auf die 1.2.2 updaten.
    Erhalte bei der Installation des Plugins die Fehlermeldung, dass die PHPSwitcher Version die IMSCP Version nicht unterstützt :(