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.

openbase_dir and NetPBM

Discussion in 'General Discussion' started by kris1351, Feb 17, 2004.

  1. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    Has anyone found a viable solution to allowing access to NetPBM and using open base?
     
  2. xsenses

    xsenses Well-Known Member

    Joined:
    Aug 29, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Huntington Beach, Ca
    I haven't tried it but installation does not require root access and can be installed by a user in their home directory.
     
  3. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    Try adding the path to the NetPBM utils onto the open_basedir line for that virtual host.
     
  4. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    If you edit the open_base in httpd.conf it will change each time you make a modification to the tweak it seems. What I found is that you can add the utils to the /scripts/phpopenbase (think that was the one) and users serverwide will have access to that directory. You could do the same with Imagemagick.
     
  5. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    The open_basedir value in individual virtual host entries should never get modified by simply changing anything in tweak settings (unless of course you remove open_basedir completely and then reinstall it).

    Only problem with modifying the scripts is the potential for overwrites direct from cPanel.
     

Share This Page