Php7 and php5 on fedora at the same time

Viewed 15947

How can I setup PHP5 and PHP7 on one Fedora system?

As I see, PHP in fedora is not one directory, it's spread in OS.

On Windows systems, PHP is one folder, so I can just rename it when I need a specific version of PHP. What about Fedora?

Maybe there are some useful links but I haven't found them.

Also, it will be php5+apache(httpd) and php7+nginx, but I don't think it matters for now.

4 Answers
Related