0
Composer on my server is recognizing PHP 5.6, but I am using PHP 7.1 in another directory. How do I change the PHP version of Composer?
0
Composer on my server is recognizing PHP 5.6, but I am using PHP 7.1 in another directory. How do I change the PHP version of Composer?
Browser other questions tagged php commiserate
You are not signed in. Login or sign up in order to post.
you use apache ? from a phpinfo() and see which version the server is using
– David Santos
Yes, I use apache. About phpinfo(), if I give this command at the root, the version I see is 5.6.33. However, if I give this command in public_html, the version that appears to me is 7.0.27
– Gabriel Augusto
ta using Windows ?
– David Santos
No, I’m using a linux server, I still don’t know if it’s Ubuntu or which distribution.
– Gabriel Augusto
Utilize
screenfetch
,lsb_release -a
oruname -a
to discover the distro of your Linux. If you use two or more versions of PHP on Linux, use Phpbrew to manage.– Valdeir Psr