Re: Problem with Apache Web Server config file and PHP (please give advice on what problem may be me)

From: Date: Wed, 16 Jul 2003 16:12:41 +0000
Subject: Re: Problem with Apache Web Server config file and PHP (please give advice on what problem may be me)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-155458@lists.php.net to get a copy of this message
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!


« previous php.general (#155458) next »