@trev-lchs said in Fog UPDATE AILED PHP Failed To install Properly:
@sebastian-roth
root@fog-03:~# dpkg -l | grep php
ii php-cli 1:7.0+35ubuntu6.1 all command-line interpreter for the PHP scripting language (default)
ii php-common 2:76+ubuntu16.04.1+deb.sury.org+9 all Common files for PHP packages
ii php-gettext 1.0.11-2build1 all read gettext MO files directly, without requiring anything other than PHP
ii php-pear 1:1.10.1+submodules+notgz-6ubuntu0.3 all PEAR Base System
ii php-xml 1:7.0+35ubuntu6.1 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii php7.0-cli 7.0.33-0ubuntu0.16.04.16 amd64 command-line interpreter for the PHP scripting language
ii php7.0-common 7.0.33-0ubuntu0.16.04.16 amd64 documentation, examples and common module for PHP
ii php7.0-json 7.0.33-0ubuntu0.16.04.16 amd64 JSON module for PHP
ii php7.0-opcache 7.0.33-0ubuntu0.16.04.16 amd64 Zend OpCache module for PHP
ii php7.0-readline 7.0.33-0ubuntu0.16.04.16 amd64 readline module for PHP
ii php7.0-xml 7.0.33-0ubuntu0.16.04.16 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
root@fog-03:~# root@fog-03:~# dpkg -l | grep php
ii php-cli 1:7.0+35ubuntu6.1 all command-line interpreter for the PHP scripting language (default)
ii php-common 2:76+ubuntu16.04.1+deb.sury.org+9 all Common files for PHP packages
ii php-gettext 1.0.11-2build1 all read gettext MO files directly, without requiring anything other than PHP
ii php-pear 1:1.10.1+submodules+notgz-6ubuntu0.3 all PEAR Base System
ii php-xml 1:7.0+35ubuntu6.1 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii php7.0-cli 7.0.33-0ubuntu0.16.04.16 amd64 command-line interpreter for the PHP scripting language
ii php7.0-common 7.0.33-0ubuntu0.16.04.16 amd64 documentation, examples and common module for PHP
ii php7.0-json 7.0.33-0ubuntu0.16.04.16 amd64 JSON module for PHP
ii php7.0-opcache 7.0.33-0ubuntu0.16.04.16 amd64 Zend OpCache module for PHP
ii php7.0-readline 7.0.33-0ubuntu0.16.04.16 amd64 readline module for PHP
ii php7.0-xml 7.0.33-0ubuntu0.16.04.16 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
root@fog-03:~#
root@fog-03:~#: command not found
root@fog-03:~# ii php-cli 1:7.0+35ubuntu6.1 all command-line interpreter for the PHP scripting language (default)
-bash: syntax error near unexpected token `(’
root@fog-03:~# ii php-common 2:76+ubuntu16.04.1+deb.sury.org+9 all Common files for PHP packages
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php-gettext 1.0.11-2build1 all read gettext MO files directly, without requiring anything other than PHP
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php-pear 1:1.10.1+submodules+notgz-6ubuntu0.3 all PEAR Base System
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php-xml 1:7.0+35ubuntu6.1 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php7.0-cli 7.0.33-0ubuntu0.16.04.16 amd64 command-line interpreter for the PHP scripting language
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php7.0-common 7.0.33-0ubuntu0.16.04.16 amd64 documentation, examples and common module for PHP
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php7.0-json 7.0.33-0ubuntu0.16.04.16 amd64 JSON module for PHP
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php7.0-opcache 7.0.33-0ubuntu0.16.04.16 amd64 Zend OpCache module for PHP
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php7.0-readline 7.0.33-0ubuntu0.16.04.16 amd64 readline module for PHP
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php7.0-xml 7.0.33-0ubuntu0.16.04.16 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# root@fog-03:~#
root@fog-03:~#: command not found
root@fog-03:~#
I wonder if it would be possible to run the old installer to the old version? If so how is this done?
these are the instructions I followed to upgrade
sudo -i
git clone https://github.com/FOGProject/fogproject.git /root/fogproject
cd /root/fogproject/
git checkout dev-branch
git pull
cd bin
./installfog.sh