I have a webserver (on bluehost) that says to run php 5.4 but when I try to run
php --version
then I get 5.2.17
printed. Is there some special parameter or different command to get version 5.4? OR can you please offer some workaround?
(I mean with C++11 you have to type g++ -std=c++11.)
/usr/local/bin/php52
and/usr/local/bin/php5.4
(Possibly with /usr/local/bin/php being a softlink to the 5.2 version). What doeslocate php
, orfind / -iname "php*" -ls
show you ?find / -name "php*" -ls
was the solution,/bin/php54s
was the program to run.