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!

Using PEAR (php) installs in Cpanel/WHM setup

Discussion in 'General Discussion' started by erick_paper, Jul 2, 2005.

  1. erick_paper

    erick_paper Well-Known Member

    Joined:
    Apr 19, 2005
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    166
    Hi,

    The usual command to get PEAR to install something, like Cpan in the Perl world, is as follows:
    This will install the TIDY module. But when I execute this in my SU shell, I see these errors:
    What gives? What am I missing?

    Thanks
     
  2. payne

    payne Well-Known Member

    Joined:
    May 31, 2003
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Seattle
    pear install is attempting to execute a script from /tmp and you configured your cpanel to not allow execution of scripts from /tmp. I don't know how to fix this yet, though.
     
  3. payne

    payne Well-Known Member

    Joined:
    May 31, 2003
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Seattle
    mount -o remount,exec /tmp
    pear install {whatever}
    mount -o remount /tmp
     
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