• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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