Warning: mysqli::__construct(): (HY000/2002): No such file or directory in /var/www/subdomain/index.php on line 10

Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/subdomain/php/subdomainutil.php on line 13

Warning: createSubdomainTables(): Couldn't fetch mysqli in /var/www/subdomain/php/subdomainutil.php on line 14
Error creating table:
Warning: mysqli::prepare(): Couldn't fetch mysqli in /var/www/subdomain/index.php on line 41

Fatal error: Uncaught Error: Call to a member function execute() on null in /var/www/subdomain/index.php:42 Stack trace: #0 {main} thrown in /var/www/subdomain/index.php on line 42