Phil Driscoll wrote:

There's your problem.
Assuming you haven't messed about too much with the apache config, your php file needs to live inside apache's htdocs directory. Can't remember exactly where that would be on a windows box - something like c:/program files/apache group/apache/htdocs maybe.

Yes, Phil has it. I'd assumed this, I should not have. The directory is given by the "DocumentRoot" line in httpd.conf. You did not say exectly what error you were getting, I'd assumed that you were just seeing the source of your file and that the only problem was php not parsing it. Presumably you were getting "Document not found" errors?


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to