Jump to content

open_basedir restrictions when using PEAR


Tandem

Recommended Posts

I'm having some problems trying to use PEAR packages. Whenever i try to use anything from the pear directory i get an error about an open_basedir restriction.

Here is the error:
Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/HTML/BBCodeParser.php) is not within the allowed path(s): (/tmp:/home/***) in /home/***/testbb.php on line 7

The pear directory is one of my include paths so it's no that.

I am the root user so i have access to everything, could anyone suggest anything i could try to get it to work?

Thanks in advance.
One of my include paths by default is /usr/share/pear which is my pear directory, and the file i am including is /usr/share/pear/HTML/BBCodeParser.php

I've been battling with this for days and treid almost everything so i think it must be something to do with configuration.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.