Skip to content

extra_cache empty #1

@QupeDev

Description

@QupeDev

Здравствуйте, подскажите почему может быть пустая папка для статического кэша?
Она была заранее создана, на хостинге (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

События для плагина разумеется указаны

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions