Results 1 to 2 of 2

Thread: [Resolved] Installing PHP on Apache2

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    [Resolved] Installing PHP on Apache2

    Since I'm at a different stage than Cafeenman, I thought I'd post separate:

    I have Apache2 installed and running. I know that it is working because I had my girlfriend go to http://my.ip.here/ and tell me what she saw, so I know for sure it's up.

    I am now trying to install PHP 4.2.1. I have followed the tutorial that is linked on Scoutt's site to the letter (more than once) and have tried Filburt1's tutorial. Neither have worked. I put this code in test.php:

    PHP Code:
    phpinfo(); 
    and I get the following error:

    Server error!

    Error message:
    Premature end of script headers: php.exe
    If you think this is a server error, please contact the webmaster

    Error 500
    localhost
    06/15/02 23:51:32
    Apache/2.0.36 (Win32) PHP/4.2.1
    I think that's about everything I can say to describe my problem. Any comments, suggestions, or anything would be welcomed. I haven't much hair left to pull out, so if you can offer me some of yours, I'd gladly rip it out too.
    Last edited by The Hobo; Jun 16th, 2002 at 03:31 PM.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    I got it working

    This was in my php.ini:

    doc_root = C:\Program Files\Apache Group\Apache 2\htdocs\

    it needed to be this:

    doc_root = C:\Program Files\Apache Group\Apache2\htdocs\

    Damn typos
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width