Hi, is it possible to downgrade PHP to 7.0 from 7.1? Could you give me a hint how to do this. on Mac brew sorted it in no time. Why? dompdf/dompdf 0.6 does not work with PHP7.1 (I can't update this package to 0.8 as I'm still on L5.2). At this moment cashier invoices throw errors when rendered.
I could provision new server with 7.0 as default but moving all sites and DNS will probably take more time.
I'm not a server/Linux guy but I'm assuming changing PHP version up or down would be the same as you simply pick which version you would like to replace the earlier version with..
With that said, maybe this will be of help to you..
@dascorp if you have a real production site make another note, lag 2 versions behind. Most enterprise including State Governments don't update to the latest thing. They lag back several months to ensure all is ok.
noted. The production server still runs PHP5.6 and L5.2. This issue is with staging server, unfortunately created it with PHP7.1 as I was not aware of PDF issue;
I managed to find 2months old snapshot on DO, so I recovered the server without provisioning new one.
It would be nice to have forge configured to run 3 versions of PHP and each site to select which one to use.
if somebody has tutorial how to do this, please give us a hint.