Open dvdpwll opened 8 years ago
Okay, after I ran sudo apt install php7.0-cli
I got this mesage when I do php -v
:
PHP 7.0.8-0ubuntu0.16.04.2 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.8-0ubuntu0.16.04.2, Copyright (c) 1999-2016, by Zend Technologies
but I still get the:
Sorry, but php-version was unable to find version '7.0' under ''.
when I open terminal.
I removed the php code from ~/.bashrc
and it seems to work fine. When I run php -v
it still outputs this:
PHP 7.0.8-0ubuntu0.16.04.2 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.8-0ubuntu0.16.04.2, Copyright (c) 1999-2016, by Zend Technologies
So I'm not sure what adding it to the ~/.bashrc
file was supposed to do.
Adding to bashrc was for php-version
to run 7.0. For wednesday, as long as you're running PHP 7.0, any way that'll be fine. Thanks, David!
i get this error in my terminal:
after I inserted this code into my
~/.bashrc
file:but I get this message when I run
php -v
:I am going to run
sudo apt install php7.0-cli
to see what happens.