Home - Help & Support - Contact Us
    

What Is Open Basedir?

The open_basedir function defines the locations or paths from which PHP is allowed to access files using functions like fopen() and gzopen(). If a file is outside of the paths defined by open_basdir, PHP will refuse to open it. You cannot use a symbolic link as a workaround, because the path that the symbolic link resolves to falls under the restrictions of the open_basedir function.

Note: The open_basedir restrictions can be turned off in the Apache configuration file, httpd.conf, with the following line: php_admin_value open_basedir none

Rated:NR/0 Votes
453 Views
More Articles From General
More Articles From General
Print Article
Print
Share |
Comments, Questions & Reviews

Comments is currently disabled for this article!
Related Articles and Readings
Can I Use open basedir on My Dedicated or Virtual Dedicated Hosting Server with Plesk?
Plesk 8.0 and above configures the httpd.include file for each domain for overall site security. As such, it enables the ...
Can I Use open basedir on My Dedicated or Virtual Dedicated Hosting Server with Plesk?
Plesk 8.0 and above configures the httpd.include file for each domain for overall site security. As such, it enables the ...
Can I Use open basedir With My Windows Shared Hosting Account?
On your Windows Shared Hosting account, open_basedir can be used to limit the files that can be opened by PHP ...
Can I Use open basedir With My Linux Shared Hosting Account?
The default open_basedir restrictions for shared Linux hosting accounts have no value. PHP scripts can access all directories within your ...
Can I submit my affiliate website to DMOZ Open Directory Project
Generally, yes, but you can not submit your site to DMOZ Open Directory Project if:a) our products are the only ...
The information provided in this article is for general information and/or the comments is the sole responsibility of their respective authors and does not necessarily reflect the opinion of zeronese.net does not endorse any article and/or comments published by our web users unless otherwise noted.