Sunday, June 29, 2008

php open_basedir problems

If you get: Warning: main(): open_basedir restriction in effect. error, then it means that the php open_basedir protection is turned on in the server.

You will need to turn it off by making an "exception" for this.

To make the exception, log in to WHM, click "Tweak Security", then click "configure" below "Php open_basedir Tweak".

Now place a check mark beside the domain in question (exclude protection box) and hit save.

This should clear up the php open base problem.

No comments: