On Tue, 11 May 2004 10:01 pm, Rich Sias wrote: > I installed Apache 2.0 and PHP5 (and MySQL). All the checks seem to > indicate that all is working fine but for the following that I may be > misunderstanding. > > I winexplore to where I have made 1. today.php and 2. welcome.php. When I > double click on them I get a windows popup saying that windows cannot open > this file, what do you wannto do? And wants to set up extension directive. > If I click open with "Internet Explorer" then I get the non-php stuff to > display but the php parts are not showing up.
It sounds to me like you are not looking at your *.php files via your apache server. > A. Am I really using the server on my XP machine to play things by clicking > on abc.html files ? How about abc.php files? > > B. If something is incorrectly set up, where would I look to check it out > and fix it up ? In your php.ini file you could set these... display_errors = On error_log = c:\temp\php.log and check out that log file. Under linux I use "tail -f /var/log/php.log" to watch the output constantly in real-time... not sure how you would do that in XP. Maybe delete the file every now and then so it doesn't get too big... even "cd c:\temp" and "type php.log" or something. > I have run many checks and all check out ok. Like php -i, shows all is well > at running. i.e. no errors. I can start and stop apache. I think you need to make sure your *.php files are in the docroot of where apache delivers web pages then use IE to surf to http://localhost/abc.php Maybe someone else can provide real windows based help. --markc