PHP version Conflict between 5.5 and 7.1 in ubuntu 14.04 LTS
When I want to know my php version by terminal using #php -v I am getting PHP 7.1.4-1+deb.sury.org~trusty+1 (cli) (built: Apr 11 2017 22:45:20) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.1.4-1+deb.sury.org~trusty+1, Copyright (c) 1999-2017, by Zend Technologies But when I am trying to run info.php written with php code <?php phpinfo(); ?> O/P PHP Version 5.5.9-1ubuntu4.21 Please let me clear what is happening exactly with my php version. I installed the full LAMP on my system freshly after un-install APACHE2, PHP & My-Sql.
type which php in terminal. the result you get is the default
Also, I recommend check Loaded Configuration File item at phpinfo() output. Here I got /etc/php/7.0/apache2/php.ini using Ubuntu 16.04 LTS and PHP 7.0.15 with Apache. Then at the terminal, run php --ini and check the same item Loaded Configuration File: to see if got any difference.
Parse error: syntax error, unexpected '"', expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) [duplicate]
How to remove items with certain length from array in php
PHP running multiple scripts concurrently
Laravel can't grab inputs from form to send out email
Find array key where value contains a specific value
Redirecting duplicated pages in WordPress template
Show Duplicate Values in Mysql
PHP SHMOP() Memory read error
How to write correct syntax for myname [closed]
getting error when try to save shipping information for user using magento 2 api
foreach with a simple variable?
SQL sub query from PHP PDO query
inserting record if count of column is less than two else not inserting into mysql
MethodNotAllowedHttpException in RouteCollection.php line 218 what can I do?
dompdf showing quesetion marks Instead of arabic characters
Wordpress Multisite - Nginx with php-fpm random 404 errors