I want to apologize ahead of time if this is an ignorant question… But I am not a relatively new developer. So I want to update the PHP version on my Docker Engine Local dev setup from 7.3.x to 8.0.x. So I did in Project Settings/Targets, redeployed and got some errors.
Then, I scrambled to get things back to normal by going back to 7.3.x, rebooting Docker Desktop, restarting the instance and we’re back which is a huge relief.
So before jumping back into these treacherous water I wanted to get advice from those more experience than me on the best approach to update PHP versions in Wappler.
Here are my steps:
Go to: Project Settings/Targets, Docker Engine/Local
Apache, PHP, change from 7.3.x to 8.0.x
Save
Kill all services
Restart Docker Desktop
Deploy
I see something is wrong with the PHP8 docker image indeed - it doesn’t install the needed pdo_mysql extension for some reason. So use for now the older PHP indeed. We will investigate.