Jump to content

PHP INI setting open_basedir


Recommended Posts

Hi

 

I'm running PHP 5.3.3 (Apache) on my local machine and I have never set ini setting "open_basedir" so i have never had any problem with it.

 

Recently I have just built some classes which several sites all use, which resides in directory C:\Core PHP Framework. I point to this by specifying the ini setting "include_path" as C:\Core PHP Framework in my php.ini.

 

However my webserver running the same version of PHP (IIS 7.0) had ini setting "open_basedir" set to the C:\wwwroot which means I cannot access or run scripts outside that directory (or more specifically I cannot access C:\Core PHP Framework).

 

Basically what i'm trying to ask is will I be opening any security holes by disabling this setting, or is this too general of a question?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.