PHP Function Status Dashboard

PHP Version: 8.1.33

Command Execution

shell_exec Disabled
exec Disabled
system Disabled
passthru Disabled

Network Functions

fsockopen Disabled
pfsockopen Disabled
Test: google.com:80 Failed

Process Control

proc_open Disabled
Test: shell_exec('ls -l') Failed

Available Functions

cURL Enabled
scandir Enabled
glob Enabled
file_get_contents URLs Disabled

Alternative Solutions

File Operations

Instead of shell_exec('ls -l'), use:

$files = scandir('/path/to/directory');
$fileInfo = stat('/path/to/file');

Network Requests

Instead of fsockopen, use cURL:

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://example.com');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl_close($ch);

Directory Listing

Instead of shell commands, use:

// List files with glob
$files = glob('/path/to/directory/*');

// Recursive directory iterator
$iterator = new RecursiveIteratorIterator(
  new RecursiveDirectoryIterator('/path/to/directory')
);

Recommendations

Your hosting provider has disabled these functions for security reasons.

Consider contacting them to enable specific functions or upgrading to a VPS plan.

Contact Hosting Support