6/18/2023 0 Comments Php 8 vs php 8.1![]() ![]() ![]() However, as I noted in my first post, that's not an issue on Debian. I'm 99% sure that the reference to security (with newer PHP) is more about the fact that technically PHP7.4 is EOL (end of life) and is not receiving any updates from the PHP team (i.e. I can't speak to any new features that requires PHP 8.0+ or performance, but according to the docs whilst PHP 8.0+ is recommended for Joomla4, it's PHP hard requirement is only v7.2.5+.Ĭonsidering that when you update to newer PHP, you lose the automated PHP security updates, I'm inclined to leave the current appliance as is (i.e. It's relatively straight forward, but there are a few reasons why it might not "just work". If you have problems and/or can't get it working as required, please post back and I'll do my best to assist. Sorry that I'm not more explicit about the required steps, but hopefully that's enough to get you going. As noted there, you will find a myriad of other sources, any related to Debian should apply directly to TurnKey. It contains very basic instructions, plus there are a number of forum threads that cover the process, but this recent one provides some links to other threads on what is required. If you want/need to update PHP, then there is a trusted third party repo that we use. Nextcloud, Invoice Ninja", Bookstack, and others. AFAIK, all the appliances that we provide that require newer PHP, come with it (usually PHP8.1) pre-installed. In those cases, updating PHP is the only option. some software just won't work with anything lower than PHP8.0. Having said that, many recent PHP projects actually have a hard requirement of PHP 8.0+. There may be some legitimacy to those performance claims, but in my personal experience, there is no noticeable performance improvement 7.4 vs 8.x (as there was between PHP5.6 & PHP7.x). Some software "warns" that PHP 7.4 is EOL and/or that you can get better performance, etc if you upgrade PHP. So the security of PHP itself shouldn't be a consideration in your choice whether to upgrade to newer PHP or not. You will get backported security patches auto applied from the Debian repos. the PHP devs themselves), it is maintained in Debian (and other Linux distros). ![]() The reason for that is that whilst 7.4 is EOL (end of life) from upstream (i.e. The first question to ask yourself is do you actually need a newer version of PHP? Unless the software explicitly requires a newer version of PHP, it is recommended to just continue using PHP7.4. ![]()
0 Comments
Leave a Reply. |