widgetfactory / jce

JCE - A Content Editor for Joomla
https://www.joomlacontenteditor.net
GNU General Public License v2.0
35 stars 12 forks source link

the installation from JED failed becouse of the PHP version 7.4 is required #109

Closed radeknoone closed 2 years ago

radeknoone commented 2 years ago

Hi

the installation from JED failed becouse of the PHP version 7.4 is required. I

Joomla version used: Joomla! 3.10.8 Stable [ Daraja ] 30-March-2022 13:28 GMT

JCE version used: Version 2.9.22 (last updated on 31 March 2022) License GPLv2 or later Download Type Free download Added On 05 March 2006 Compatible Versions 3.x, 4.x

PHP version used 7.3.29.

Result: image

As the Joomla still supports php versions 5+, there should be the compatibility hold for all available (and Compatible) versions. As I saw the code of JCE, there is not any specific function used from php 7.4. There is just unnecessarily strict test in code for 'php version LE 7.4`.

ryandemmer commented 2 years ago

JCE requires PHP 7.4 or later - https://www.joomlacontenteditor.net/support/documentation/editor/requirements

radeknoone commented 2 years ago

Hi, thank you for your reply. Would you be so kind and explain shortly what used function is not available in the older release of php (7.3.29 for example)?

In case there is tech reason to not support older release, the JCE should not support Joomla 3x versions (as Joomla supports php 5.3.10 end higher).

radeknoone commented 2 years ago

What is the reason for support PHP 7.4 or later? There is not technical reason - in the contrary it brakes the compatibility with Joomla and is agains the principle of longterm support enterprise distros (RHEL).

ryandemmer commented 2 years ago

Supporting older versions requires testing on older versions, and many changes in PHP 7.4 and later which are now standard, are not supported in earlier versions. This would require extensive testing to try and prevent issues with older versions of PHP, and I don't have the time or the inclination to do that.

If you need to use PHP 7.3, then use JCE 2.9.20 or earlier.

radeknoone commented 2 years ago

Thanks for your time and explanation!