XF 2.3 Site move to a new server - a few issues

hdrcweb

Member
Hi
I've migrated the site to a new server, 2 issues:

1: I got a 403 until I commented out the folllowing in the .htaccess file (line not commented out below)

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php83” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php83 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

Any issues with this?

2: I'm getting loads of the attached errors in the server serror log, any ideas for the fix?
Thanks
 

Attachments

  • Screenshot 2026-01-18 160533.webp
    Screenshot 2026-01-18 160533.webp
    67.3 KB · Views: 39
these errors seem to occur when navigating around the forum, each click creates an error.
Those edits to the .htaccess file were done in the old server I assume? I'm assuming this because usually a manual edit of the aforementioned file to write the php handler to change the php version manually is done on servers that don’t not have a built in multi PHP manager option from which the php version can be changed.

If your new host has said option built in, you can set the php version from there and remove the code that writes the php handler from the .htaccess file as that's not needed imo.

I think it's worth a try.
 
Back
Top Bottom