symfony - Choose php version on Ubuntu 14.04 (php vs php5) -


im trying start projects on laravel , symfony

the issue following

when write on terminal this:

php -v

i this:

php 5.6.11 (cli) (built: jul 13 2015 09:19:13)

copyright (c) 1997-2015 php group

zend engine v2.6.0, copyright (c) 1998-2015 zend technologies

and when write this:

php5 -v

i this:

php warning: module 'pdo' loaded in unknown on line 0

php 5.5.9-1ubuntu4.11 (cli) (built: jul 2 2015 15:17:32)

copyright (c) 1997-2014 php group

zend engine v2.5.0, copyright (c) 1998-2014 zend technologies

with zend opcache v7.0.3, copyright (c) 1999-2014, zend technologies

the thing have few modules in php 5.6.11 version , modules have installed in 5.5.9 version. , both frameworks need modules in 5.5.9 version 5.6.11 version.

english isnt native language, sorry if made mistakes writing this.

did chance compiled 1 of versions manually?

the best option have modules php 5.6 follow following guide:

http://www.dev-metal.com/install-setup-php-5-6-ubuntu-14-04-lts/

it uses repositories ondrej, repositories maintain different php versions latest ubuntu releases.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -