Class 'mysqli' not found

grigliata79

New Member
Messages
15
Reaction score
0
Points
1
Hello.

I am on x12. Database is ok. I uploaded the files via ftp (I had a local copy), however home page doesn't show and the Error Log says:
[STDERR] PHP Fatal error: Uncaught Error: Class 'mysqli' not found

Via phpinfo() I see php seems to be compiled using '--without-mysqli'.

Is this correct?
 

Anna

I am just me
Staff member
Messages
11,430
Reaction score
548
Points
113
Hello.

I am on x12. Database is ok. I uploaded the files via ftp (I had a local copy), however home page doesn't show and the Error Log says:
[STDERR] PHP Fatal error: Uncaught Error: Class 'mysqli' not found

Via phpinfo() I see php seems to be compiled using '--without-mysqli'.

Is this correct?
The default php version for all accounts should indeed have that set, though if you at some point in the past switched version under "Extra Features" -> "PHP Version", you might need to revisit that and make sure that is enabled.
 

Victor Delta

New Member
Messages
25
Reaction score
0
Points
1
I'm also on x12 and still getting the 404 page. The Control Panel PHP Version page is set to 7.4 (current). Should I change it to (native) 7.2 please?
 

Anna

I am just me
Staff member
Messages
11,430
Reaction score
548
Points
113
I'm also on x12 and still getting the 404 page. The Control Panel PHP Version page is set to 7.4 (current). Should I change it to (native) 7.2 please?
x12 is still being restored, that would be the cause of the 404 error.
Wrong php version would result in a different error, until your files are restored I'd leave that as you have it though as I would think that is set to match what script you use
 
Top