composer php - Laravel 5.3: PHP Version issue on remote host

320

I am using Site5 which allows multiple php. So I tried to runcomposer install and it welcomed me with various version related errors. Laravel 5.3 needs 5.6+ and I have 5.5 installed but my hosting allows various version including PHP7. PHP7 is installed as/usr/local/php70/bin/php

Now how can I makecomposer andartisan to use these commands. Specially composer

People are also looking for solutions to the problem: php - How to block some Pages if in .txt file

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.