Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29245

How do I install php5.6 onto an AWS server and set it as default

$
0
0

I've got an old WordPress site that I've downloaded from a while ago and it will only work on php5.6.. I have installed php5.6 to the server on Amazon Linux 2. How would I go about setting the default php version?

When I try the command "php" on SSH, it doesn't work, however "php56" does, I'm not sure if this is an issue but this confirms it's installed.

Also, I use Webmin and Apache on an Amazon Linux 2 system.

Cheers, Jack


Viewing all articles
Browse latest Browse all 29245

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>