Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 1st April 2010, 06:32
acecjh acecjh is offline
Junior Member
Join Date: Mar 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default open_basedir restriction and wordpress

Hi Guys - I know this topic has come up before, but I have really struggled to find a solution in the archives!

I have a server runing ISPConfig, based on the perfect install guidelines for Fedora 12. It is a fresh install and I have set up a virtual host, which I have tested with static pages and php etc.

I have now tried to install a wordpress blog as a fresh install, and I get a completely blank page when trying to view it. Further investigation shows the following error in the log:

[Thu Apr 01 04:12:47 2010] [warn] [client] mod_fcgid: stderr: PHP Warning: require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/clients/client5/web11) in /var/www/clients/client5/web11/web/index.php on line 18
[Thu Apr 01 04:12:47 2010] [warn] [client] mod_fcgid: stderr: PHP Fatal error: Can't load ./wp-blog-header.php, open_basedir restriction. in /var/www/clients/client5/web11/web/index.php on line 18
Can anyone suggest to me how to fix this? I have a feeling that there is a simple way to do it, but I have now lost several days trying to find a solution!

Many thanks,
Reply With Quote
Sponsored Links
Old 1st April 2010, 21:45
Toucan Toucan is offline
Senior Member
Join Date: Dec 2009
Posts: 479
Thanks: 78
Thanked 41 Times in 34 Posts

This is a bit of a guess from Joomla!, but in the sites menu have you tried the various options regarding php? SuExec? phpmod?
Reply With Quote
Old 4th April 2010, 12:24
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts

I recommend thyt you update your server to ispconfig This version has a fiel open_basedir on the options tab of the website settings where you can specify a custom open_basedir path for every website.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixing open_basedir restriction runbuck General 2 28th December 2009 21:57

All times are GMT +2. The time now is 07:06.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.