2 amoun Sep 13, 2022 23:10

Hi, guys.
Is there a way to configure the php version (7.x.x) to run with b2evolution using htaccess ?
My server upgraded php to 8.x.x and my b2evoltuon don't work anymore :-(
Using .htaccess to do that does appear to be an option if your server has multiple versions of php available.
My choice was to set my server to provide php7 as I only use it for b2evolution
Have a look at
https://www.webfulcreations.com/change-php-version-via-htaccess/
Using .htaccess to do that does appear to be an option if your server has multiple versions of php available.
My choice was to set my server to provide php7 as I only use it for b2evolution
Have a look at
https://www.webfulcreations.com/change-php-version-via-htaccess/
Thanks!
Using .htaccess to do that does appear to be an option if your server has multiple versions of php available.
My choice was to set my server to provide php7 as I only use it for b2evolution
Have a look at
https://www.webfulcreations.com/change-php-version-via-htaccess/
This works if APACHE is correctly configured... For those who need to configure Apache for several versions of PHP, just follow these instructions here: https://stackoverflow.com/questions/27694295/load-specific-php-version
All done
Thanks again for the continued support