2013-03-10 15 views
0

我只是實現phpass到我的網站註冊代碼,它似乎工作,但它給了我下面的警告phpass警告?

Warning: is_readable(): open_basedir restriction in effect. File(/dev/urandom) is not `within the allowed path(s): (/home/u997733154:/usr/lib/php:/tmp) in /home/u997733154/public_html/PasswordHash.php on line 51` 

回答

1

看看你的php.ini文件。默認情況下,您可以打開哪些文件。

請參閱此鏈接瞭解詳情:http://www.php.net/manual/en/ini.core.php#ini.open-basedir

+0

找不到我的php.ini,但我聯絡有關我的虛擬主機。我會接受你的回答,因爲另一個人問了同樣的問題,你說的是什麼對他有用。 – 2013-03-10 06:39:00