Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    166
    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:
    833
    Likes Received:
    1
    Trophy Points:
    168
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. amard

    amard Well-Known Member

    Joined:
    Jan 18, 2003
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    166
    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:
    833
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    Turn safe mode off....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. amard

    amard Well-Known Member

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


    Thanks,

    Rob

    :cool:
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice