The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Anyone running Pear + PHPSuExec successfully?

Discussion in 'General Discussion' started by amard, Oct 4, 2004.

  1. amard

    amard Well-Known Member

    Joined:
    Jan 18, 2003
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Herts, UK
    Hi,

    Does anyone here know how to get PHP's Pear module to work with PHPSuExec turned on?

    Our installation works, as we can run PEAR scripts in command line while logged in as root. When scripts are run over the web and chown'd to their owners however, they fail to run as they do not have permissions.

    Lot's of cases of this are in the Pear mailing list, although I can't find any with an answer to the problem or decent response.

    Look forward to hearing your experiences with this :cool:


    Rob
     
  2. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    Just copy the required pear scripts to where you want to run them and chmod and chown them correctly.
     
  3. amard

    amard Well-Known Member

    Joined:
    Jan 18, 2003
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Herts, UK
    Hi,

    Thanks for that. :D

    Although it does work, is there no way to use Pear the way it's meant to be used?

    :confused:
     
  4. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    Turn safe mode off....
     
  5. amard

    amard Well-Known Member

    Joined:
    Jan 18, 2003
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Herts, UK
    mmm.... I think we'll stick to your original idea :eek:


    Thanks,

    Rob

    :cool:
     
Loading...

Share This Page