Click to See Complete Forum and Search --> : [Resolved] [Resolved] Apache 2 and PHP 5.0


fire_cracker
07-23-2004, 04:03 PM
We have been running Apache 2 on our system for quite some time now, and we just recently installed PHP 5.0 on our server (win2003 Server Edd).

Prior to the install it would parse our *.php files as though they were regular HTML files, which is to be expected, snice there was no PHP running. Now that we have set up PHP; however, it is opening up a file download box every time we try to open up a PHP file....I've never seen this before.

Any ideas on why this would happen, perhaps some mistake in our PHP.INI file or something?

Thanks for the help :)

[edit:]
The problem is deffenitaly within appache. I can get appache to start with the following config:

#LoadModule php5_module c:/php/php5apache2.dll
#AddModule mod_php5.c
AddType application/x-httpd-php .php

But when I uncomment either or both the lines of codes the webserver wont' start, and it is not writting a reason to my error log.