Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2006] MySQL server has gone away in C:\xampp\htdocs\namaz\db.php:18 Stack trace: #0 C:\xampp\htdocs\namaz\index.php(2): include() #1 {main} thrown in C:\xampp\htdocs\namaz\db.php on line 18