For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > August 2004 > Help! WINXP/Apache2.0/PHP4.3.8 - Can't run PHP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Help! WINXP/Apache2.0/PHP4.3.8 - Can't run PHP
Bestman4unowwa@aol.com

2004-08-23, 3:58 pm

When I have a html page with an embedded php method behind a button, when I click the button I the PHP doesn't run, instead my browser pops up a dialog box with a request a file download of my PHP script.

Also, when I run a php in my browser either nothing happens or I get the file load. I've tried a number of httpd.conf changes but nothing seems to work. It seems to be a configuration problem. I'm at a loss at this point.

Should I switch from the dll module approach and try the cgi technique?
Lester Caine

2004-08-23, 3:58 pm

Bestman4unowwa@aol.com wrote:
> When I have a html page with an embedded php method behind a button, when I click the button I the PHP doesn't run, instead my browser pops up a dialog box with a request a file download of my PHP script.
>
> Also, when I run a php in my browser either nothing happens or I get the file load. I've tried a number of httpd.conf changes but nothing seems to work. It seems to be a configuration problem. I'm at a loss at this point.
>
> Should I switch from the dll module approach and try the cgi technique?


Have you checked out the note on the bottom of the installation page
http://www.php.net/manual/en/instal...ows.apache2.php
Will your server run a PHP file at all?

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com