PHP: Could not find version. No output

  • Hello i-MSCP Community,


    first of all i'm new here so Hello to everyone :thumbsup:


    Now to my problem (and sorry for my bad english :D)


    If i try to install i-MSCP i get the error : iMSCP::Stepper::_callback: PHP: Could not find version. No output


    php is installed and works but after this error php is broken.



    My Specs are as follows:
    OS: Linux
    Distrib: Debian Server
    Arch: amd64
    Code Name: Jessie
    Release: 8.5


    Greetz GermanY.#

  • Welcome to our community :D


    You tried which imscp-version exactly? Also was it an update or fresh installation? Please try to purge all php-packages and rerun the installer.

  • Thanks :D


    i tried the 1.3.1
    It was a fresh installation. Okay i will try it now.


    EDIT: Okay got the same problem. still PHP Could not find version. No output

  • @GermanY.#


    1. Be sure to follow the Installation steps carrefully. See https://github.com/i-MSCP/imsc….md#2-i-mscp-installation


    You're running Debian Jessie 8.5 while the last version is 8.6. You have not followed the instructions


    2. Be sure to use official Debian repositories only.


    Show us the content of your /etc/apt/sources.list and also any content from files that could be stored in the /etc/apt/sources.list.d directory.

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

  • i did all that from the wiki.



    sources.list :

    Shell-Script
    1. ################################################################################# Hetzner APT-Mirrordeb http://mirror.hetzner.de/debian/packages jessie main contrib non-freedeb http://mirror.hetzner.de/debian/security jessie/updates main contrib non-free# Webmin#deb http://download.webmin.com/download/repository sarge contrib#deb-src http://download.webmin.com/download/repository sarge contrib################################################################################# Backupmirror#deb http://http.debian.net/debian/ jessie main non-free contribdeb-src http://http.debian.net/debian/ jessie main non-free contribdeb http://security.debian.org/ jessie/updates main contrib non-freedeb-src http://security.debian.org/ jessie/updates main contrib non-free################################################################################# backports Mirrordeb http://mirror.hetzner.de/debian/packages jessie-backports main contrib non-freedeb http://http.debian.net/debian/ jessie-backports main non-free contribdeb-src http://http.debian.net/debian/ jessie-backports main contrib non-freedeb http://packages.dotdeb.org wheezy-php55 alldeb-src http://packages.dotdeb.org wheezy-php55 all


    The only file i got in /etc/apt/sources.list.d/ is webupd8team-java.list

    Shell-Script
    1. deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
    2. deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
  • @GermanY.#


    You're kidding?


    deb http://packages.dotdeb.org wheezy-php55 all
    deb-src http://packages.dotdeb.org wheezy-php55 all


    You're running Debian jessie... Wheezy repositories shouldn't be used here. Anyway, dotdeb repositories are not official Debian repositories and they cannot work with i-MSCP without using a specific listener file (Search on our forum to know what that thing).


    The only file i got in /etc/apt/sources.list.d/ is webupd8team-java.list


    deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
    deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main

    Even worse here.... You 're running Debian. Not Ubuntu trusty.


    PLEASE, INSTALL A BASE DEBIAN SYSTEM AND FOLLOW THE INSTRUCTIONS CARREFULLY AS SAY ABOVE.


    Thread closed.

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

  • @GermanY.# small information. Hetzner provides debian jessie minimal als installation rom, I recomment using this option on reset.