|
-
Dec 21st, 2000, 05:42 PM
#1
Thread Starter
Member
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
-
Dec 21st, 2000, 06:11 PM
#2
Thread Starter
Member
come on!!! I want to get this installed properly before it gets late so I can stay up all night coding in PHP!!!!
-
Dec 21st, 2000, 06:17 PM
#3
Monday Morning Lunatic
/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
-
Dec 21st, 2000, 06:18 PM
#4
Thread Starter
Member
ummm still not working....


[Edited by Benjamin on 12-21-2000 at 06:22 PM]
-
Dec 21st, 2000, 06:23 PM
#5
Thread Starter
Member
oops.... small capitalizationg error... works like a charm!!!! 
thanks parksie!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|