close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Problem with Open_basedir restriction

Thread began 1/04/2010 8:06 am by jonathan.meilleur385477 | Last modified 1/14/2010 4:02 pm by jonathan.meilleur385477 | 2691 views | 6 replies

Eric Mittman

This is very unusual for the host to not allow safe mode to be disabled, according to the php documentation in php 5 this is deprecated and will not be available in php 6:

Safe Mode is deprecated in PHP 5.3.0 and is removed in PHP 6.0.0.

When the open basedir restriction is in effect you can only include files that are within the location specified in this setting. It looks like it may be the temp file in your webroot that is allowed:

/var/www/vhosts/seconcept.com/httpdocs:/tmp

To know for sure you can create a php info page by adding this line of code to the top of any php page:

php:
<?php phpinfo(); ?>



Look for the setting here, it is open_basedir. You should see the allowed paths in here, you will need to put any of the files that you want to include in here and adjust the paths accordingly.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...