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.

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:
    16
    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:
    0
    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:
    0
    Location:
    Seattle
    mount -o remount,exec /tmp
    pear install {whatever}
    mount -o remount /tmp
     
Loading...

Share This Page