Strange problem today that Im running out of ideas on how to troubleshoot.
Have two sites running xenforo and php 5.6.
On old server:
Site A is running EA PHP 5.6
Site B is running ALT PHP 5.6
Using cloudlinux php selector in cpanel, I can change Site A or Site B from ALT PHP 5.6 to EA PHP 5.6 or from EA PHP 5.6 to ALT PHP 5.6 with no errors on the old server.
Imported to a new server.
Site A is running EA PHP 5.6 (no errors)
Site B is running ALT PHP 5.6 (no errors)
However, If I change Site A to ALT PHP 5.6 xenforo errors with a mysqli error. If I change it back to EA PHP 5.6 it works fine.
If I change Site B to EA PHP 5.6 xenforo on that site errors with a mysqli error. If I change it back to ALT PHP 5.6 it works fine.
So it seems like each works with the php version that it was imported from backup running fine, but I cant change the php version on the new server without a mysqli error.
The php switch does seem to occur according to php info.
And since Site A runs fine with EA PHP 5.6 and Site B runs on the same new server with ALT PHP 5.6, Im not sure what to try.
Under WHM I have disabled the option to change php module options per site, so the same module options should be the same between sites, and obviously the EA-PHP module options should be the same.
Any ideas on what could cause this behavior when switching php versions?
Have two sites running xenforo and php 5.6.
On old server:
Site A is running EA PHP 5.6
Site B is running ALT PHP 5.6
Using cloudlinux php selector in cpanel, I can change Site A or Site B from ALT PHP 5.6 to EA PHP 5.6 or from EA PHP 5.6 to ALT PHP 5.6 with no errors on the old server.
Imported to a new server.
Site A is running EA PHP 5.6 (no errors)
Site B is running ALT PHP 5.6 (no errors)
However, If I change Site A to ALT PHP 5.6 xenforo errors with a mysqli error. If I change it back to EA PHP 5.6 it works fine.
If I change Site B to EA PHP 5.6 xenforo on that site errors with a mysqli error. If I change it back to ALT PHP 5.6 it works fine.
So it seems like each works with the php version that it was imported from backup running fine, but I cant change the php version on the new server without a mysqli error.
The php switch does seem to occur according to php info.
And since Site A runs fine with EA PHP 5.6 and Site B runs on the same new server with ALT PHP 5.6, Im not sure what to try.
Under WHM I have disabled the option to change php module options per site, so the same module options should be the same between sites, and obviously the EA-PHP module options should be the same.
Any ideas on what could cause this behavior when switching php versions?