When I upgrade my server from PHP 7.2 to PHP 7.3 I get a server error 500.
I’m using the same packages as I did with 7.2 (and none have been deprecated). My error logs aren’t very helpful as they don’t provide any inclination of the problem (or anything else, a problem for another day).
I’ve never had any issues updating my PHP version so I’m not sure why I’m having issues now.
I use htaccess but I can’t think why my htaccess file will work with 7.2 and not 7.3. All I get is a 500 Server Error, no additional information.
Does anyone have any ideas? I would be very grateful!
2
Answers
I made a boo boo, ignore me. Turns out that when you update to PHP 7.3 when using cPanel the necessary sqli/pdo modules get unchecked. In my sleep deprived state I wasn't paying proper attention. Enabling nd_mysqli and nd_pdo_mysql modules fixed everything.
Does index.php ONLY containing the following and still has a 500?
If so make sure you’ve disabled the old php 7.2 and enable 7.3
this assumes you use apache