• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved PHP has no read access to /dev/urandom

endstationStgt

New Pleskian
Hello,

I installed ownCloud on my Plesk server. Unfortunately shows me ownCloud errors like this:

"PHP has no read access to /dev/urandom"

What should I do to make this setup under Plesk? :(

I have:

Operating System: CentOS 6.8 with Plesk 05.12.30
Web Server Type: Linux
Database type: MySQL phpMyAdmin
PHP Version: 5.6.24
ownCloud Version: 9.1.0
 
I think you must add /dev/urandom to the open_basedir directive in your PHP settings (at the domain level)

You probably have something like:

{WEBSPACEROOT}{/}{:}{TMP}{/}
Change it to:

{WEBSPACEROOT}{/}{:}{TMP}{/}{:}/dev/urandom​


I don't know if/how this can be changed, and in which template, for future domains
 
I don't know if/how this can be changed, and in which template, for future domains

You might consider to have a look at the Plesk documentation : => PHP Management ( Plesk 12.5 online documentation )

Inheriting PHP settings
Note that in Plesk local settings override global ones. This means that, for example, settings defined on the subscription level take precedence over those defined on the service plan level, but are, in turn, overridden by those defined on the domain level.

Note: If you change the PHP settings for a subscription, the subscription will be locked for sync unless the subscription owner has the necessary permissions to make the changes you made.

This scheme illustrates the hierarchy, from the topmost level to the bottom:

75148.png
 
Thanks for clarifying, UFHH01.

Anyway in the control panel I don't see how to change PHP directives at the subscription level: I see them at the "service plan" and "domain" level, but not in the subscription... (but I'm a newbie here so I may missing something obvious!)
 
oh, btw, having changed the above mentioned directive at the domain level, I don't see the subscription as locked (like I see when I change something else, like e.g. the PHP version to use), but maybe I misunderstood what you meant...
 
Back
Top