How to set up php custom php settings for the domain

Created:

2016-11-16 12:45:43 UTC

Modified:

2017-05-13 09:15:59 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to set up php custom php settings for the domain

Applicable to:

  • Plesk 12.5 for Linux

Question

There is an notification in OwnCloud administration panel:

dev/urandom is not readable by PHP which is highly discouraged for security reasons. Further information can be found in our

documentation.

How to get rid of it?

Answer

As it is described in https://doc.owncloud.org/server/8.1/admin_manual/configuration_server/harden_server.html#dev-urandom-label , in part Give PHP read access to /dev/urandom /dev/urandom should be included to open_basedir parameter.

It can be done through Plesk as follows:

  1. Go to Home > Domains > example.com > Websites & Domains > PHP Settings page
  2. Scroll down to open_basedir field and added /dev/urandom
  3. Click OK
Have more questions? Submit a request
Please sign in to leave a comment.