debian 7 -> 9 php 5 -> 7

Discussion in 'Installation/Configuration' started by NicoduWeb, Aug 1, 2018.

  1. NicoduWeb

    NicoduWeb New Member

    i've upgarde debian 7 to debian 9.

    Now i want to upate php5 to php 7 et reconfigure ispconfig to use only php7.
    so i've install php7 :
    apt-get -y install apache2 apache2-doc apache2-utils libapache2-mod-php php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-imap phpmyadmin php7.0-cli php7.0-cgi libapache2-mod-fcgid apache2-suexec-pristine php-pear php7.0-mcrypt mcrypt  imagemagick libruby libapache2-mod-python php7.0-curl php7.0-intl php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xmlrpc php7.0-xsl memcached php-memcache php-imagick php-gettext php7.0-zip php7.0-mbstring memcached libapache2-mod-passenger php7.0-soap
    then remove php5
    Then i've updated ispconfig using
    wget ...
    tar ...
    php -q update.php
    then reboot.

    ispconfig is same as this !

    - Now ispconfig seems to work (but not quota pogressbar) (FIXED : edit3)

    - phpmyadmin display php :( (FIXED : edit2)

    - All website are with 503 error :((FIXED : edit1)

    How can i update configuration to use only php7 please (like change settings of all vhost) ?

    EDIT 1:
    Website work only with fast-CGI but not with php-fpm
    PHP Version 7.0.30-0+deb9u1*

    EDIT 2:
    if i disable php
    then enable php-fpm
    Website with php-fpm 7
    it's boring but i can do thsi for all site.
    Create a new website enable all website

    PHPMYADMIN is still broken and give php witjout interpreting it :(
    a2enmod php7.0
    systemctl restart apache2
    EDIT 3:
    Ok the QUOTA problem's comes from proxmox contaiuner (lxc)
    It required to enable quota on hard drive (advenced setting on disk)
    Last edited: Aug 1, 2018

Share This Page