chrism79 Posted September 10, 2008 Share Posted September 10, 2008 Can someone help me? I have a dedicated server with Fasthosts (moment of madness!) and my shopping cart script is generating an open_basedir error. It says: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/dev/urandom) is not within the allowed path(s): (/tmp:/home/default/xxxxx.com) File: /pear/Auth/SASL/DigestMD5.php Line: 181 Error Number: 2 I want to take away that open_basedir restriction. I have checked my phpinfo and it says: open_basedir (local value): /tmp:/home/default/xxxxx.com open_basedir (master value): no value In php.ini the bit relating to open_basedir is commented out. Am I right that the settings in httpd.conf or php.ini are likely to be ok for this but something at the domain-level configuration is creating the restriction? Can anyone tell me what I need to change at the domain level? Or even what files/directories to look in? I have root access so I should be able to change whatever needs changing. I am just not sure where to look. :/ Link to comment https://forums.phpfreaks.com/topic/123571-open_basedir-on-a-fasthosts-dedicated-server/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.