Did you add these lines to http.conf?:
LoadModule php4_module c:/php4/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

If you did, did you restart apache afterwards?


karen santmyer wrote:


HI:
Can anyone refer me to someone that can help with the problem below.
I installed Apache Web Server on my laptop which has Windows XP. I then installed PHP. I followed the directions in the book I had on installing apache and php and what to add to the apache configuration file.
Here is what is happening: After installing everything, I tested my Apache web server installation first and saw the apache web server page like the book said. Then it said to do a little php program - which had phpinfo() in it. But when I retyped the url I got a message that asked me did I want to download a file, which was the php program file.
The PHP is 4.3.2 and the apache web server is 2.0. What am I doing wrong? Should I use apache 1.3.2?
Please help. I understand everything, just don't know why it is prompting me to download a file.
Thanks.
Karen







--------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to