Joomla\CMS\Cache\Storage\FileStorage::_deleteFolder JFolder
- Category: 電腦相關
- Last Updated: Tuesday, 13 October 2020 10:46
- Published: Thursday, 01 October 2020 09:55
- Written by sam
Joomla, why always?
1. make sure your directory permission is correct.
the file is 644 and the folder is 755
find dir -type d -exec chmod 755 {} \;
find dir -type f -exec chmod 644 {} \;
2. make sure your directory owner is correct.
chown www-data:www-data dir
3. my problem is dumb. for security reasons.
Because i disable so many functions...... like chmod, chdir, rmdir, mkdir etc.
Enabled are fine.
Now, I'm use.
disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,