Re: Re: download file box appears
| From: | Chris Hewitt | 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...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 ChrisThe system is Windows XP home edition andapache_1.3.28-win32-x86-no_src.exeThe following is the step that used for my installation:directory1) Turned Apachee off 2) downloade and extracted php-4.3.4-Win32.zip and renamedto C:\PHPand3) opened install.txt 4) I copied php4ts.dll and php4apache.dll into Windowows\system32the Apache root directoyto5) Renamed php.ini-dist to php.ini and moved it to the Windowsdirectory6) added apache path "C:\Program Files\Apache Group\Apache\htdocs"php.ini with quotesappears7) added the following text: # LoadModule php4_module "c:/php/sapi/php4apache.dll" # AddModule mod_php4.c# AddType application/x-httpd-php .php8) to httpd.conf which is in the apache root. 9) turned apache on 10) type in the url http://localhost and the Apache test page11) type in the url http://localhost/phpinfo.php and the downloadfile 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,