safe_mode problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ZMAN

    #1

    safe_mode problem

    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
    BZ






  • Mark

    #2
    Re: safe_mode problem

    ZMAN wrote:
    [color=blue]
    > 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?[/color]

    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.

    Comment

    • ZMAN

      #3
      Re: safe_mode problem

      Mark

      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
      BZ


      "Mark" <mw@ANGRYLanfea r.com> wrote in message
      news:icadnXu2Go WPoV_cRVn-2Q@nventure.com ...[color=blue]
      > ZMAN wrote:
      >[color=green]
      > > 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[/color][/color]
      is[color=blue][color=green]
      > > 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?[/color]
      >
      > 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.[/color]


      Comment

      Working...