PHP ini

I am getting an error:
A PHP Error was encountered
Severity: Warning
Message: file_exists(): open_basedir restriction in effect. File(C: blah blah blah

I researched this and found that I need to Modify the open_basedir settings in your PHP configuration.

The full warning is:
Severity: Warning

Message: file_exists(): open_basedir restriction in effect. File(C:\inetpub\wwwroot\system/expressionengine/third_party/cartthrob/config/C:\inetpub\wwwroot\system/expressionengine/third_party/cartthrob/config/config.php) is not within the allowed path(s): (C:/inetpub/wwwroot)

in my PHP.ini I have:
open_basedir = "C:/inetpub/wwwroot"

Can someone show me an example of the right way to do this?  Thanks in advance.
LVL 8
rgranlundAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zalazarCommented:
If open_basedir is set the it limits all file operations to this directory and below.
Can you try to comment it out via:
;open_basedir = "C:/inetpub/wwwroot"

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rgranlundAuthor Commented:
That was it!  Thanks so much.  Have a great weekend.
Dave BaldwinFixer of ProblemsCommented:
'open_basedir' is commented out in all of my PHP installs.
zalazarCommented:
Good to hear that it's working fine. Thanks and have a nice weekend too.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.