## Re: Unable to open php script on local machine

"Greg Wilson" <gregw0407netzero.net> wrote in message
> Greetings,
>
> I have loaded apache web server and php on a local computer running
> Windows 98.
> I have edited the "httpd-config' file in apache's config folder. I
> have also
> moved the php.ini file to Windows folder and the (2) .dll files to the
> Windows System folder. (although when I search for the .dll files,
> they are in the proper place but they do not appear in "windows
> explorer" ). I have placed the php files in the "htdocs" folder of
> Apache. When I attempt to open a php file such as phpinfo.php in IE
> browser, a "File Download" box appears instead of executing the
> script. I am stumpted at this point and not sure what to try next. I
> have rechecked the edits I made to files and php will still not run.
>
> Any assistance would be greatly appreciated.
If you still have problems, email me and I can forward you my old http.conf
and php.ini files... however I think the fact that you cannot see your php
files in your windows folders could be one area to work on...

This is what I have...

c:\windows\php.ini
c:\windows\system\php4apache.dll
c:\windows\system\php4ts.dll

In my Apache http.conf file I have (yep I know it says
d:/programs/php/php4apache.dll - I also (strangely) have a copy of the file
there and in my c:\windows\system directory - must be my mistake). The
following two lines are under 'Section 1' of the httpd.conf file

Under Section 2 I have: