open_basedir restriction in effect

Seth

Verified User
Joined
Oct 26, 2003
Messages
261
Location
USA
Code:
Warning: Unknown: open_basedir restriction in effect. File(/var/www/html/webmail/index.php) is not within the allowed path(s): (1) in Unknown on line 0

Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Fatal error: Unknown: Failed opening required '/var/www/html/webmail/index.php' (include_path='.:/usr/local/lib/php') in Unknown on line 0

Not sure what happened but as you can see above open_basedir restriction in effect. No one can use webmail among other things. Any help would be great. Thanks.
 
I have it turned on and these are the paths:

Code:
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
include_path = ".:/php/includes:/usr/local/bin"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
 
What URL are you typing to access webmail? Are you still restricted when you type http://your.server.IP/webmail directly into your browser?
open_basedir restrictions are usually set on a per-domain basis so to check whether it's enabled for a paritular domain login to DA as admin and click PHP SafeMode Configuration.
 
5vjzfyemjp4q7149qg.png


As you can see above (pic from admin user account) it is a system level issue.
 
Back
Top