PHP 8 and Apache 2 compatibility
-
Hi @leokhoa - thanks a lot for your wonderful work on Laragon.
A feature request if I may please. In PHP 8.0, the Apache module is renamed to
php_module
, and notphp8_module
as it was the pattern for PHP 5 and PHP 7.Laragon currently updates the
etc/apache2/mod_php.conf
file to correct thephp8apache2_4.dll
path. Would it be possible to usephp_module
if the PHP version is 8, orphp5_module
orphp7_module
otherwise depending on the PHP version?https://php.watch/versions/8.0/mod_php-rename
Thank you.
-
@Ayesh : Many thanks for your head up.
It's on my TODO list
-
@Ayesh @leokhoa Laragon did not update mod_php.conf for me. Could you please guide what I should change?
-
I have got it working, I replaced Not Thread Safe with Thread Safe.
Laragon is amazing and so flexible. Thanks to @leokhoa
-
I love to work with Laragon 😍. Hope Laragon will add this compatibility asap.
Here I have got this video for solve this issue, it might be helpful