safe_mode problem

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hello all!

The ISP that hosts a few of my sites switched on safe_mode, now my calls to
Pear (require_once('DB.php');)  are not working. I get:

Warning: main(): SAFE MODE Restriction in effect. The script whose uid is
1603 is not allowed to access /usr/local/lib/php/DB.php owned by uid 0

Is there any work around at my end? Permissions perhps?

Thanks in advance

Re: safe_mode problem

ZMAN wrote:

Quoted text here. Click to load it

  Pear is installed by your ISP as the root user, and safe mode says that
the owner of the executing script has to have the same userid as that of
the executing script (which the PEAR files obviously don't).

  solutions?  Is there a way to install PEAR by yourself in your own
directories, or do you not have shell access on the server?


I am not an ANGRY man.  Remove the rage from my email to reply.

Re: safe_mode problem


    Only FTP. I could throw PHP Shell up there and try that...
Are you saying I could just FTP up the PEAR classes I need to my dirs?

Thanks in advance

Quoted text here. Click to load it

Site Timeline