looking to get all my old wordpress sites (v3.4.2) working on my newly installed ubuntu 16.04 box. it seems i need an older version of php to make that possible.
however i eventually want to upgrade those site to take advantage of the newer php release. plus, any new installs can use php 7 immediately. so a parallel installation of phps 5.6 and 7 seems to be the way to go.
atm hosting wordpress and zen cart sites are the only uses i have for php.
aside from ubuntu 16.04, im running virtualmin gpl installed from the script. my current setup (apache, mysql, php 7) already runs the latest wordpress version perfectly.
after much reading, it seems i need to perform the following commands to achieve my goal of parallel installations:
then its just a matter of choosing the older version for the applicable virtual servers.
however, ive also read that the aforementioned commands include/modify apache in some undesirable ways. being a recovering windows user and relative newb to linux, i thought i would run my plan past the experts for advice?
as i said, im aware newer versions support php 7. also, php 5.6 is still supported. so no biggie there. there is also the issue of not all wp plugins supporting php 7 just yet.
so this topic isnt so much about whether i should parallel install, but how i should parallel install.
I know you’re trying to parallel install php 5 with php 7. I was just trying to help, developers upgrade their software for a reason, sometimes those are security reasons. People dumb enough not to use free upgrades could get hacked. And then they create even dumber topics than this saying I GOT HACKED, PLEASE HELP.
thank you, i have installed php 5.6, 7.0 & 7.1 on my ubuntu 16.04 server and works fine! but i have problemes to install PHP 5.3.29 - i know, php5.3 is old and a security risk, but i have one project it works only with 5.3… how can i install php5.3 on my ubuntu 16.04 server for virtualmin?? it is very important, i need help this WE.
i need only:
PHP 5.3.x (i need it!)
PHP 5.6.x (works!)
and for new projects only PHP7.0/7.1 (works!)