Compatibility with Apache 2.4 and PHP 8.1
-
- Newbie
- Posts: 4
- Joined: Tue Oct 18, 2022 8:58 pm
Compatibility with Apache 2.4 and PHP 8.1
Hey guys,
I just downloaded the latest version, put it on an Apache 2.4 with PHP 8.1 and the first thing it did was tell me there were syntax errors in every .htaccess for the lines Order, Deny and Allow; these are deprecated in version 2.4, I replaced them with the new Require all granted or denied, depending on the wrong line, but then when I started the install process, it wasn't able to get the system's information from it, which tells me it's not compatible with PHP 8.1.
I saw a topic saying PHP must be <7.3 but version 7.4 is about to go EOL I believe 7.3 already is, so is this going to be fixed?
Thanks.
I just downloaded the latest version, put it on an Apache 2.4 with PHP 8.1 and the first thing it did was tell me there were syntax errors in every .htaccess for the lines Order, Deny and Allow; these are deprecated in version 2.4, I replaced them with the new Require all granted or denied, depending on the wrong line, but then when I started the install process, it wasn't able to get the system's information from it, which tells me it's not compatible with PHP 8.1.
I saw a topic saying PHP must be <7.3 but version 7.4 is about to go EOL I believe 7.3 already is, so is this going to be fixed?
Thanks.
Re: Compatibility with Apache 2.4 and PHP 8.1
- Requiremente: https://docs.formalms.org/reference-gui ... ments.html
- support for php 8.x => in our roadmap and on its way
- support for php 8.x => in our roadmap and on its way
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
-
- Newbie
- Posts: 4
- Joined: Tue Oct 18, 2022 8:58 pm
Re: Compatibility with Apache 2.4 and PHP 8.1
Thank you, but as I said before PHP v7.4 is about to reach EOL (in November if I remember correctly) so the only option I have is not to use it, at least until it is compatible with PHP 8.x also it would be nice to have it compatible with Apache 2.4 and up, after all version 2.2 has not been updated in a long time, it might also reached EOL.
Re: Compatibility with Apache 2.4 and PHP 8.1
Hi, there are not particular directives that won't work with Apache 2.4 (I'm using multiple instances of Forma LMS in Apache 2.4 with no issues).
Regarding PHP, you're absolutely right, 7.4 active support has already ended (28 Nov 2021), while security support will end in 1 month (28 Nov 2022).
Regarding PHP, you're absolutely right, 7.4 active support has already ended (28 Nov 2021), while security support will end in 1 month (28 Nov 2022).
Per supporto GRATUITO contattatemi in privato qui
-
- Newbie
- Posts: 4
- Joined: Tue Oct 18, 2022 8:58 pm
Re: Compatibility with Apache 2.4 and PHP 8.1
My Apache httpd 2.4.54 gave error 503, when I checked the log it said:
.htaccess: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
And I found that all the .htacess had lines with Order, Allow and Deny which are deprecated in version 2.4
.htaccess: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
And I found that all the .htacess had lines with Order, Allow and Deny which are deprecated in version 2.4
Re: Compatibility with Apache 2.4 and PHP 8.1
I'm on Apache 2.4.52 and no problems.
Per supporto GRATUITO contattatemi in privato qui
-
- Newbie
- Posts: 4
- Joined: Tue Oct 18, 2022 8:58 pm
Re: Compatibility with Apache 2.4 and PHP 8.1
You must have access_compat module enabled, You should read this: https://httpd.apache.org/docs/2.4/howto/access.html
Re: Compatibility with Apache 2.4 and PHP 8.1
It's enabled.
Per supporto GRATUITO contattatemi in privato qui