Warning: main(): open_basedir restriction in effect.

Are you getting following error in apache error logs?

Warning: main(): open_basedir restriction in effect.

That means php open_basedir protection is turned on in the server.

You  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.


Warning: main(): open_basedir restriction in effect., Hostripples Web Hosting
Amit Jadhav
Amit Jadhav is working in Hostripples since years he is a passionate engineer... He is working as a senior technical support engineer, as it's a responsible position because it's a lifeline to our customers... Moreover he is dealing in troubleshooting server problems and is always ready to assist our customers in technical issues... Hostripples is glad to have Amit Jadhav on the board...