PHP & Apache installed on Linux, but PHP is not running on Apache. Am i need to insta

Discussion in 'Apache' started by MrPJH, Mar 30, 2007.

  1. #1
    I have PHP and Apache on my Linux PC. Both are running seperately. Apache not recognising PHP applications. I want to run PHP on Apache. Why PHP is not running on Apache? Did i missed any needed rpms or missed any configurations? Both Apache and PHP are come along with Linux OS and I did not installed with rpms.
    Please help me in solving this problem
     
    MrPJH, Mar 30, 2007 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Man, you have a lot of questions.
     
    mad4, Mar 30, 2007 IP
  3. rootbinbash

    rootbinbash Peon

    Messages:
    2,198
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What is your distro?Some distros like gentoo you have to edit the config at conf.d and add -D PHP parameter.If you are not using gentoo you have to compile apache with php support. (use ./configure --help)
     
    rootbinbash, Mar 30, 2007 IP
  4. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #4
    That totally does not mean that both apache and php are compiled and for that fact apache compiled with php at all. Name the distro fist. Saying linux os is not enough for any troubleshooting.
     
    paidhosting, Mar 31, 2007 IP
  5. Valve-Hosting

    Valve-Hosting Peon

    Messages:
    1,071
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yep, let me/us know what linux your using, I know for a fact I can sort this out, tell me your distro and i'll post the solution. ;)
     
    Valve-Hosting, Apr 1, 2007 IP