Troubleshooting of PHP errors: Difference between revisions
Jump to navigation
Jump to search
m
→檔案操作有關
m (→檔案操作有關) Tags: Mobile edit Mobile web edit |
|||
| Line 19: | Line 19: | ||
* 驗證是否具備寫入權限: | * 驗證是否具備寫入權限: | ||
*# 輸入 {{Linux}} 指令 (1) 檢查檔案權限 {{kbd | key = ls -Z /path/to/file}}、(2) 檢查目錄權限 {{kbd | key = ls -Zd /path/to/directory/}} | *# 輸入 {{Linux}} 指令 (1) 檢查檔案權限 {{kbd | key = ls -Z /path/to/file}}、(2) 檢查目錄權限 {{kbd | key = ls -Zd /path/to/directory/}} | ||
*# PHP [https://www.php.net/manual/en/function.get-current-user.php get_current_user] function | |||
*# PHP [http://php.net/manual/en/function.is-writable.php is_writable function] | *# PHP [http://php.net/manual/en/function.is-writable.php is_writable function] | ||