简体   繁体   中英

require_once() Permisson Denied even after chmod 777

I do Dropbox-API

it needs to access the Dropbox-SDK..

Here is the error shown in browser.

Warning: require_once(dropbox-sdk/Dropbox/autoload.php): failed to open stream: Permission denied in /home/albert/public_html/test/search.php on line 11

Fatal error: require_once(): Failed opening required 'dropbox-sdk/Dropbox/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/albert/public_html/test/search.php on line 11

I have been researching about it and try to chmod all the files, also chown all.. but it still show the same error..

Can anyone help? Thx

检查您的包含路径 ,因为可能是您必须对其进行更改或使用其完整路径包含/要求自动加载文件。

Is dropbox-sdk/Dropbox/autoload.php under . or /usr/share/php or /usr/share/pear , if not, that is your problem - your include path is incorrect, or your installation path for Dropbox was placed in the wrong place

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM