Results 1 to 5 of 5

Thread: Apache Server.... ARRRRRRR...

  1. #1

    Thread Starter
    Member Benjamin's Avatar
    Join Date
    Nov 2000
    Posts
    48

    Angry

    I want to install PHP with apache instead of PWS.... and I looked on http://www.php.net for instructions on how..

    and it said this:

    Code:
    Windows 9x/NT and Apache 1.3.x
    You must edit your srm.conf or httpd.conf to configure Apache to work with the PHP CGI binary. 
    
    Although there can be a few variations of configuring PHP under Apache, this one is simple enough to be used by the newcomer. Please consult the Apache Docs for further configuration directives. 
    
    
    
    ScriptAlias /php/ "c:/path-to-php-dir/" 
    
    AddType application/x-httpd-php .php 
    
    AddType application/x-httpd-php .phtml 
    
    Action application/x-httpd-php "/php/php.exe"

    I added that to httpd.conf ... and changed a few minor things("c:/path-to-php-dir" to "c:/website")

    and it doesn't work...

    I don't know what is wrong.. but it just won't work... when I try to open a PHP page.. it says 404 file not found...


    can somebody please tell me how to properly configure PHP with apache??


    Thanks,
    Dennis

    -Dennis
    [email protected]
    Ever stop to think, and forget to start again?


    The end justifies the means
    http://www.cfm-resources.com/d/dewrenn
    http://www.phpsquare.com

  2. #2

    Thread Starter
    Member Benjamin's Avatar
    Join Date
    Nov 2000
    Posts
    48
    come on!!! I want to get this installed properly before it gets late so I can stay up all night coding in PHP!!!!
    -Dennis
    [email protected]
    Ever stop to think, and forget to start again?


    The end justifies the means
    http://www.cfm-resources.com/d/dewrenn
    http://www.phpsquare.com

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    /path-to-php-dir/ is the path to your php.exe program, not where your scripts are.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  4. #4

    Thread Starter
    Member Benjamin's Avatar
    Join Date
    Nov 2000
    Posts
    48
    ummm still not working....




    [Edited by Benjamin on 12-21-2000 at 06:22 PM]
    -Dennis
    [email protected]
    Ever stop to think, and forget to start again?


    The end justifies the means
    http://www.cfm-resources.com/d/dewrenn
    http://www.phpsquare.com

  5. #5

    Thread Starter
    Member Benjamin's Avatar
    Join Date
    Nov 2000
    Posts
    48
    oops.... small capitalizationg error... works like a charm!!!!

    thanks parksie!!!!
    -Dennis
    [email protected]
    Ever stop to think, and forget to start again?


    The end justifies the means
    http://www.cfm-resources.com/d/dewrenn
    http://www.phpsquare.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