欢迎您光临本小站。希望您在这里可以找到自己想要的信息。。。

nextcloud /dev/urandom is not readable by PHP

Linux water 4235℃ 0评论

1. Operating system (非必须!先看完说明再设置)

**When having an open_basedir configured within your php.ini file, make sure to include /dev/urandom.
如果你的配置文件里的这项是注释掉的就忽略这一步!!

Give PHP read access to /dev/urandom :

$ sudo vim /etc/php/7.0/apache2/php.ini

Change line begin with ;open_basedir to:

open_basedir = /dev/urandom

Then:

$ sudo service apache2 restart

转载请注明:学时网 » nextcloud /dev/urandom is not readable by PHP

喜欢 (0)or分享 (0)

您必须 登录 才能发表评论!