-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Здравствуйте, подскажите почему может быть пустая папка для статического кэша?
Она была заранее создана, на хостинге (beget) проверено что shell_exec и wget доступны
<?php
if (function_exists('shell_exec') && is_callable('shell_exec')) {
echo 'shell_exec is available <br>';
} else {
echo 'shell_exec is not available <br>';
}
$disabled = explode(',', ini_get('disable_functions'));
if (in_array('shell_exec', $disabled)) {
echo 'shell_exec is disabled <br>';
} else {
echo 'shell_exec is enabled <br>';
}
$output = shell_exec('echo test');
if ($output === null) {
echo 'shell_exec is disabled or not working <br>';
} else {
echo 'shell_exec output: ' . $output . '<br>';
}
$wget = shell_exec('wget --version');
if ($wget === null) {
echo 'wget is not available <br>';
} else {
echo 'wget is available <br>';
}shell_exec is available
shell_exec is enabled
shell_exec output: test
wget is available
События для плагина разумеется указаны
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels