Installing WP Developer with old php
-
I've done a search, so please forgive me if I missed a previous post.
Helping a friend to move WP site off AWS.
That site is running PHP 7.0
Installing new WP Developer site here on Cloudron is obviously a current PHP.
So backup/restore plugins like Duplicator fail with the restore onto newer PHP installation.Options :
- battle AWS to upgrade that site's PHP version
- install WP on Cloudron with PHP 7.0 then upgrade later
- install WP with current version and downgrade to PHP 7.0
Is the 2nd or 3rd option possible?
Save me fighting AWS management console.
More comfortable adjusting PHP settings on Cloudron. -
Yeah, I've also had scenarios when I've need a different php version in WordPress Developer.
Perhaps it could be configurable like it is with the LAMP app?
-
@jdaviescoates said in Installing WP Developer with old php:
like it is with the LAMP app?
Indeed @timconsidine for now using a LAMP app might help you resolve you existing conundrum?
-
Currently, using the LAMP app is the best bet.
I think if we allow PHP to be configured in WP developer apps, this is another combination to test. I know for a fact that people still want to use PHP 5.x (!) and also 7.x . This will make the package unsustainable in the long run. The WP CLI we use to automate wordpress also has various requirements and again it's going to be hard to test again all the PHP versions. Not just test, if someone reports some issue, we have to fix it.
Anyway, the LAMP app exists for this.
-
Thank you @girish and @jdaviescoates - nice 'working around' the problem.
@girish, yep, I understand the issues -
Closing a loop ...
The oldest version of LAMP here runs PHP 7.4
The site with old software is running PHP 7.0
I was not sure whether 7.4 is old enough, or whether the backup/migrate would fail on that version difference also.
Not wanting to waste time going down unproductive paths, I deployed a docker container running Wordpress and PHP 7.0 and I've managed to get a restore from the AWS site running.
Now in process of upgrading PHP so I can then backup/restore to a Cloudron WP Developer with current software versions.Thank you for your suggestions - got me going in the right direction.
-
-