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.

PHPSuexec Question

Discussion in 'General Discussion' started by MN-Robert, Jul 21, 2003.

  1. MN-Robert

    MN-Robert Well-Known Member

    Joined:
    Feb 19, 2003
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    16
    I am hoping to get some help from here. We recently installed phpsuexec on one of our servers for testing. Now we usually display system info under:

    http://server.myacen.com/systeminformation/

    Which is being called from /usr/local/apache/htdocs

    WIth phpsuexec we receive a 500 error what do we chmod/chown it to to make this work?

    cPanel.net Support Ticket Number:
     
  2. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    I have found that phpsuexec does not like world-writable PHP files and directories. I think your problem will be fixed if you chmod 644 all relevant PHP files and 755 all relevant directories ;)

    cPanel.net Support Ticket Number:
     
  3. Faldran

    Faldran Well-Known Member

    Joined:
    May 28, 2002
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    http://forums.cpanel.net/showthread.php?s=&threadid=10824

    The part from Howard should do it for you.


    Also, you can note, that you do not have to chmod files to 755, if server is setup correctly they will run as 644. ( I have never had to chmod any files to 755 when running phpsuexec )

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page