Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

odionk's avatar

Server has gone away

Good day Artisan i seem to be getting error when sending post request to API curl request

Illuminate\Database\QueryException
SQLSTATE[HY000]: General error: 2006 Server has gone away (SQL: select * from `settings` where `settings`.`id` = 1 limit 1)
```
0 likes
2 replies
jaseofspades88's avatar

Increase max_allowed_packet in your configuration file to a more suitable value

odionk's avatar

@jaseofspades88 thanks for your asnwer pls where can i find the config, i use Namecheap Cpanel hosting, in my hosting or laravel file config?

Please or to participate in this conversation.