Re: Re: download file box appears

From: Date: Mon, 23 Feb 2004 12:14:28 +0000
Subject: Re: Re: download file box appears
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-12836@lists.php.net to get a copy of this message
danny cobbinah wrote:
not sure if this helps but for php my path was c:\php\php.exe for apache it was c:\apache\apache.exe for mysql it was c:\mysql\mysql.exe check the my.ini in the mysql area and make sure its correct try this: LoadFile C:/PHP/php4ts.dll Loadmodule php4_module c:\php\sapi\php4apache.dll AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps "John Rutkowski" <john.rutkowski@btopenworld.com> wrote in message news:20040223023602.11429.qmail@pb1.pair.com...
The system is Windows XP home edition and
apache_1.3.28-win32-x86-no_src.exe
The following is the step that used for my installation:
   1)    Turned Apachee off
   2)    downloade and extracted php-4.3.4-Win32.zip and renamed
directory
to C:\PHP
   3)    opened install.txt
   4)    I copied php4ts.dll and php4apache.dll into Windowows\system32
and
the Apache root directoy
   5)    Renamed php.ini-dist to php.ini and moved it to the Windows
directory
   6)    added apache path "C:\Program Files\Apache Group\Apache\htdocs"
to
php.ini with quotes
   7)    added the following text:
               # LoadModule php4_module "c:/php/sapi/php4apache.dll"
               # AddModule mod_php4.c
               # AddType application/x-httpd-php .php
   8)    to httpd.conf which is in the apache root.
   9)    turned apache on
   10)    type in the url http://localhost and the Apache test page
appears
   11)    type in the url http://localhost/phpinfo.php and the download
file box appears. phpinfo.php has the text <? php phpinfo(); ?> Please can u help me? I thank u for any help that may be forth coming. John John,
Just a thought. In your point 7 where you show the LoadModule lines etc, you have hash as the first character. This comments out the line. As you are getting the file download dialog it means that Apache httpd is not sending a php file to the php module. This is possibly because you have those lines commented out? HTH Chris

« previous php.install (#12836) next »