I’m planning to set up WordPress on my Ubuntu 16.04 server which currently runs PHP 7.0. I checked the official documentation and noticed they recommend PHP 7.2 or higher for optimal performance, though older versions like 5.4 are still supported but not recommended.
I have a few concerns about this setup:
Compatibility with current PHP version: Will WordPress run properly on PHP 7.0 or should I expect performance issues and compatibility problems?
Impact on existing projects: I have several non-WordPress PHP applications running on this server. If I decide to upgrade PHP, will my current projects break due to deprecated features?
Package availability: Can I install PHP 7.2 directly from Ubuntu 16.04’s default repositories, or do I need to add third-party sources?
Verification methods: What’s the best way to check which PHP versions are available in my current repository setup?
Any advice on the best approach would be helpful. Should I stick with PHP 7.0 for now or is upgrading worth the potential hassle?