PHP 7.4, the next PHP 7 minor release, is expected to be released to the general public on November 28th, 2019. So it’s time for us to dive into some of the most exciting additions and new features that will make PHP 7.4 faster and more reliable than PHP 7.3 – Actually, even if PHP 7.4 significantly boosts performance and improves code readability, PHP 8 will be the real milestone for PHP performance. So, PHP 8 will be a real game changer. The real incentive for upgrading your PHP 7.3 version to PHP 7.4 in your Synology NAS is the promise of a performance boost if you use WordPress 5.3.X
PHP 7.4 will introduce preloading to PHP core. This is essentially done via an extension to Opcache, the software that stores pre-compiled script bytecode in shared memory. This helps eliminate the need for loading scripts on every request. Opcache works by using opcodes, simplified versions of your code. Preloading works by compiling source files to opcodes, compiling things together, and keeping the compiled code in memory. This code will be much easier and faster for PHP to pull than the alternative: files loaded and linked on every request. This will result in huge performance gains in WordPress and represents the most compelling reason to update to PHP 7.4 on your Synology NAS.
Right now, WordPress 5.3 fully supports PHP 7.4 – Read how to manually update a new version of WordPress in your Synology NAS. In the next days, after PHP 7.4 will have been released to general public, I will send the first “Support Ticket” to Synology and also a Feature Request for PHP 7.4
Remember to follow this article because all the updates about Synology and PHP 7.4 will be added to this post.
PHP 7.4 is out. Here, you can find the changelog for PHP 7.4
I sent “feature suggestion” for PHP 7.4 through the Synology official page. I strongly recommend my readers to send “Feature Suggestion” to Synology to speed up the process with PHP 7.4 – On the package Area “Category” of Feature Suggestion select phpMyAdmin because Synology has forgotten to add PHP in the category list.
After some hours Synology reply to me with the message below. Finger crossed.
Official PHP 7.4.1 Released on 18 December 2019. Right now not included on Synology.
Official PHP 7.4.2 Released on 23 January 2020. Right now not included on Synology.