I have installed php version 5.6.
When I run phpinfo() in browser it displays correct version but in terminal php version 5.3 is shown.
How can I solve this? Due to this problem I am unable to install laravel.
There are actually two programs:
php-cli
- what runs when you type php
into your terminalmod_php
- an apache module which runs PHP as a web server (could also be fast-cgi
or another php module)You need to update your php-cli
(contact your web host if you don't control the machine).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With