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.

Running PHP in apache htdocs?

Discussion in 'EasyApache' started by Mysteerie, Oct 21, 2007.

  1. Mysteerie

    Mysteerie Well-Known Member

    Joined:
    Dec 29, 2003
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
    How do i configure the default virtualhost (and compiled with suphp) to run php scripts in /usr/local/apache/htdocs/. I just want to run a simple phpinfo script when someone goes to the IP address of the server.
     
  2. mambomouth

    mambomouth Member

    Joined:
    Jul 16, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I not sure I don't a answer thats proven but it could a "PAM" issue also in Cpanel 11 you need need run PHP Pecl to do a command line type on run. Your the account via PHP suEXEC my not be set or your shell is locked for that account.

    I also the you apache Build with PHP my not have sockets support.

    long list it could be one or two of does.

    Cheers,
    Brian
     
Loading...

Share This Page