• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Need help ASAP with open_base_dir

You said you only have 4 domains currently with problems. Personally I would do the vhost.conf for those 4, then create a vhost.conf and vhost_ssl.conf for the 'skeleton' files, upload those, then Plesk will create those for each and every other domain you create. But that's just me...and lots of other admins....

The httpd.conf and httpd.include files can and will be overwritten by Plesk and OS updates (up2date or yum) on occasion, that is why it is BEST to do the vhost.conf and vhost_ssl.conf way. (i thought I had mentioned that earlier, but just checked and I am getting confused with multiple similar posts).
 
Rackspace said to make a the vhosts.conf file for the domain like you said with this:

<Directory /home/httpd/vhosts/giftbasketdepot.com/httpdocs/>
php_admin_value open_basedir "/"
</Directory>

I did, restarted apache. and that doesnt even work. And you said that is the first file checked so I am lost :(
 
Try this and remember to restart apache:
<Directory /home/httpd/vhosts/giftbasketdepot.com/httpdocs>
php_admin_flag engine on
php_admin_value open_basedir /
</Directory>
Notice there are no quote marks. Again, I do not recommend this due to serious security issues!

****, I need better glasses, remove the / from the end of the httpdocs

I really wish you would try putting:

<Directory /home/httpd/vhosts/giftbasketdepot.com/httpdocs>
php_admin_flag engine on
php_admin_value open_basedir /home/httpd/vhosts/giftbasketdepot.com/httpdocs:/home/httpd/vhosts/giftbasketdepot.com/httpdocs/install:/tmp
</Directory>
 
trying now.... I am having to restart the entire server each time because service httpd restart says command cant be found....

rackspace it could be restarted like this:
/usr/local/psa/admin/bin/websrvmng

Is that right?
 
Exact command depends on your OS, best to use the control panel interface.

It has worked, your error is now gone.
 
Like I said before, do the vhost.conf for the current 4 domains with problems, then get a skeleton upload in place so Plesk will auto-create the vhost.conf file for new domains.

The 2nd site is having multiple issues from 2 packages, Mambo and some other scripting (frontend). Looks bad, but it's not really.
 
Sheesh..... I deleted the engine on entry because i thought it was ok. Error came back. I put it back in, restarted apache again, it stayed there :( This is killing me
 
Back
Top