Ultimate PHP Server & Database Debugger

Complete server diagnostics, database management, and error resolution tool

8.2.29
PHP Version
128M
Memory Limit
349.73 GB
Free Disk Space
67
Extensions Loaded

Server Information

Basic Info

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

PHP Configuration

Parameter Value Status
PHP Version8.2.29Ok
PHP SAPIfpm-fcgiOk
Max Execution Time60sOk
Memory Limit128MOk
Upload Max Filesize128MInfo
Post Max Size500MInfo
Display Errors1Warning
Error Reporting32767Info
TimezoneUTCOk

System Resources

Disk Usage

Total Space: 398.86 GB
Free Space: 349.73 GB
Used Space: 49.13 GB (12.3%)

Memory Usage

Current Usage: 2 MB
Peak Usage: 2 MB
Memory Limit: 128M

Database Manager

Test Database Connection

Database Tools

Quick Commands

# 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;

Database Diagnostics

Common Issues Detected:

No obvious database configuration issues detected
// 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());
}

Error Logs

Found 1 Error Log(s):

/home/gsmuser/logs/gsmafrican_shop.php.error.log
Size: 5.63 KB | Modified: 2026-01-12 22:08:52

Real-time Error Monitoring

Generate Test Errors

Monitor Errors

Security Audit

File Permissions

PathPermissionsOwner/GroupStatus
Current Directory0755
rwxr-xr-x
gsmuser / gsmuser World Executable
Parent Directory0711
rwx--x--x
gsmuser / gsmuser World Executable
Script Directory0755
rwxr-xr-x
gsmuser / gsmuser World Executable
Temp Directory0700
rwx------
gsmuser / gsmuser OK

Security Recommendations

Security Recommendations:

High Priority: display_errors should be OFF in production
Fix: Set display_errors = Off in php.ini
Medium Priority: Error reporting should be limited in production
Fix: Set error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
Medium Priority: Session cookies should be secure
Fix: Set session.cookie_secure = 1

PHP Security Settings

SettingCurrent ValueRecommendedStatus
allow_url_fopen1Off Warning
allow_url_includeOff Secure
display_errors1Off Warning
expose_phpOff Secure
file_uploads1On Secure
max_execution_time6030 Warning
max_input_time60030 Warning
memory_limit128M128M Secure
post_max_size500M8M Warning
upload_max_filesize128M2M Warning
session.cookie_httponlyOn Warning
session.cookie_secure0On Warning
session.use_strict_mode0On Warning

Diagnostic Tools

System Checks

Quick Fixes

PHP Extensions

pdo_mysql
MySQL PDO driver
mysqli
MySQL improved extension
curl
cURL for HTTP requests
gd
GD image library
json
JSON support
openssl
OpenSSL for encryption
mbstring
Multibyte string support
xml
XML parser
zip
Zip archive
session
Session support
fileinfo
File information
intl
Internationalization
exif
EXIF image data
ftp
FTP support
sockets
Socket communication
zlib
Compression library

Command Line Tools

Complete PHP Server & Database Debugger | Version 3.0

Generated on: 2026-01-12 22:49:02 | PHP 8.2.29 | Memory: 0.4MB