Answer the question
In order to leave comments, you need to log in
Why isn't php5.6 (it's installed on the system) in /usr/bin?
Ubuntu server has php7.0 and php5.6 installed. Cron runs scripts through php7.0 (these commands contain the /usr/bin/php entry, which leads to php7.0).
I need to run one script from command line via php5.6.
Tried writing /usr/bin/php5.6 script_name.php but writes command php5.6 not found.
And it's strange that php5.6 is installed, but /usr/bin has only php7.0 Screenshot
:
Can you tell me what could be the reason?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question