Reputation: 95
Note: I'm so new to this OS just 2 weeks ago. Hope someone can help me.
I have 2 php version, php5 and php7. I want to know how to set the default php to php7 so that I can proceed to the next step of installing "Laravel framework".
When I open a terminal and type the command php --version
the result is
PHP 7.0.9 (cli) (built: Aug 16 2016 19:17:59) ( NTS )
Copyright (c) 1997-2016 The PHP Group
but when I try to phpinfo()
; the result is PHP Version 5.3.15
How can I set it to php7 or how can I switch to other version to another?
Upvotes: 0
Views: 231
Reputation:
Upgrade to a supported release of openSUSE. It will come with a more recent version of PHP.
openSUSE 12.2 was released in March 2011, and reached end of life in May 2013.
Upvotes: 1