Jump to content

mysqli


tpstudent

Recommended Posts

Hi,

 

I had server which I had uploaded my files in it. However, there was an error faced. When I tried to view it, it has a fatal error.

 

Class 'mysqli' not found in /home/imindss/public_html/istaff/tryP.php on line 28

 

I had put in this in the php.ini:

;extension=php_mysqli.dll

;extension=mysqli.so

 

But it still has error.

can anyone help?

Thanks

Link to comment
https://forums.phpfreaks.com/topic/124051-mysqli/
Share on other sites

I'd get in touch with your host to see if they support the mysqli extension.

 

The mysqli extension is only available with PHP5, if your host use PHP4 you'll need to either modify you code to use the standard mysql extension or move hosts which profiles your sites requirements.

Link to comment
https://forums.phpfreaks.com/topic/124051-mysqli/#findComment-640408
Share on other sites

How do i actually restart the webserver?

I was given a sub domain to upload my files.

i uas filezila to upload my files

how do i actually restart it?

Are you using a web host? If you are you should get in contact with them for how to configure PHP. Not all hosts will allow you to configure PHP.

Link to comment
https://forums.phpfreaks.com/topic/124051-mysqli/#findComment-640454
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.