I have been trying to configure PHP with Apache 2, whilst installing the server with out any problems, When synchronizing with PHP, attempting to open up a .php script, error 404 is found. I have added the 'LoadModule' and 'AddType' codes to the Apache conf file but no luck.
P.S. Do you need an internet connection in order to test your PHP scripts on your computer, before they are allowed entry to the WWW.
More information would be helpful. Particularly, what version of PHP, specifically? What version of Apache 2, specifically? Can you post your httpd.conf?
As to your question of internet connection requirement: no, you do not need to be connected for Apache to work.
I agree also, im using xampp on my server at work and its a really neat setup vs the alternative of trying to install everything u need manually, i had the hardest time in the past trying to get php and mysql to work together until i tried xampp as a solution...many thanx to volka for the referall
I have a similar problem. My old development system crashed and I'm in the processing of rebuilding. After following the steps for installing Apache 2.0.55, and PHP 4.4.2 (yes, I know it's a bit out of date, but that's the evironment I was working in) I run the usual phpinfo and it works fine in IE. But when I run in Firefox (1.5.0.6) it pops up the download dialog! Anyone have any idea why this may be happening? I have been doing all my working in Firefox and don't really want to switch to IE. It should work properly in both. Any ideas would be appreciated.