Complete server diagnostics, database management, and error resolution tool
| Parameter | Value |
|---|---|
| Server Name | www.gsmafrican.shop |
| Server Software | Apache |
| Server Protocol | HTTP/1.1 |
| Server Admin | webmaster@gsmafrican.shop |
| Document Root | /home/gsmuser/public_html |
| Request Time | 2026-01-12 22:49:02 |
| Parameter | Value | Status |
|---|---|---|
| PHP Version | 8.2.29 | Ok |
| PHP SAPI | fpm-fcgi | Ok |
| Max Execution Time | 60s | Ok |
| Memory Limit | 128M | Ok |
| Upload Max Filesize | 128M | Info |
| Post Max Size | 500M | Info |
| Display Errors | 1 | Warning |
| Error Reporting | 32767 | Info |
| Timezone | UTC | Ok |
| Total Space: | 398.86 GB |
| Free Space: | 349.73 GB |
| Used Space: | 49.13 GB (12.3%) |
| Current Usage: | 2 MB |
| Peak Usage: | 2 MB |
| Memory Limit: | 128M |
# Login to MySQL mysql -u root -p # Show databases SHOW DATABASES; # Show users SELECT User, Host FROM mysql.user; # Create database CREATE DATABASE database_name; # Create user CREATE USER 'username'@'localhost' IDENTIFIED BY 'password'; # Grant all privileges GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost'; # Flush privileges FLUSH PRIVILEGES;
// PHP PDO Connection Example
$host = 'localhost';
$dbname = 'your_database';
$username = 'your_username';
$password = 'your_password';
try {
$pdo = new PDO("mysql:host=$host;dbname=$dbname;charset=utf8mb4",
$username, $password);
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
echo "Connected successfully";
} catch(PDOException $e) {
die("Connection failed: " . $e->getMessage());
}
| Path | Permissions | Owner/Group | Status |
|---|---|---|---|
Current Directory | 0755rwxr-xr-x | gsmuser / gsmuser | World Executable |
Parent Directory | 0711rwx--x--x | gsmuser / gsmuser | World Executable |
Script Directory | 0755rwxr-xr-x | gsmuser / gsmuser | World Executable |
Temp Directory | 0700rwx------ | gsmuser / gsmuser | OK |
| Setting | Current Value | Recommended | Status |
|---|---|---|---|
allow_url_fopen | 1 | Off | Warning |
allow_url_include | | Off | Secure |
display_errors | 1 | Off | Warning |
expose_php | | Off | Secure |
file_uploads | 1 | On | Secure |
max_execution_time | 60 | 30 | Warning |
max_input_time | 600 | 30 | Warning |
memory_limit | 128M | 128M | Secure |
post_max_size | 500M | 8M | Warning |
upload_max_filesize | 128M | 2M | Warning |
session.cookie_httponly | | On | Warning |
session.cookie_secure | 0 | On | Warning |
session.use_strict_mode | 0 | On | Warning |
Complete PHP Server & Database Debugger | Version 3.0
Generated on: 2026-01-12 22:49:02 | PHP 8.2.29 | Memory: 0.4MB