0 votes
1.6k views
in Programming by (300 points)

Hi anyone is there who can tell me why is the error coming when I fetch the more data error comes

" Warning: mysqli::query(): MySQL server has gone away error PHP"

please, anyone help. Thanks in advance!

 

1 Answer

0 votes
by

There is the solution

1- Steps   Open your terminal and go in your root path  with use this command  

  •      sudo su

2 - Steps After running this command it will ask your password just enter your password.

3 - Steps In your root folder, you have php.ini.default file. you have to make a copy of this file name with php.ini.

      use this command

  •            cp /etc/php.ini.default /etc/php.ini

 

 For more information checkout this link  Warning: MySQL server has gone away error php

Not a Member yet?

Ask to Folks Login

My Account

Your feedback is highly appreciated