just-j Posted July 10, 2006 Share Posted July 10, 2006 my php scripts just stopped working.. i use wamp 5 to have a local server so i can script and test without having to be connected to the internet.. well yesterday i was writing some code and went to test it and IE asked me if i wanted to open or save the .php file... any suggestions on how to fix this? i even tried <?php phpinfo(); ?> and still got the download box. i didnt change any settings in wamp, it just decided to quit working on its own. so any help would be nice.. maby uninstall and reinstall wamp 5? i dont know.. do you? Quote Link to comment https://forums.phpfreaks.com/topic/14170-php-not-working-now-ie-wants-to-dl-php-files/ Share on other sites More sharing options...
just-j Posted July 10, 2006 Author Share Posted July 10, 2006 this is driving me nuts btw... im at a stand still. Quote Link to comment https://forums.phpfreaks.com/topic/14170-php-not-working-now-ie-wants-to-dl-php-files/#findComment-55537 Share on other sites More sharing options...
Koobi Posted July 10, 2006 Share Posted July 10, 2006 this problem is probably because Apache isn't running.try starting Apache, however you do it in WAMP, and this problem should be fixed.if you're a regular PHP developer, i recommend you add Apache as a service so that it begins everytime your OS boots. Quote Link to comment https://forums.phpfreaks.com/topic/14170-php-not-working-now-ie-wants-to-dl-php-files/#findComment-55551 Share on other sites More sharing options...
just-j Posted July 10, 2006 Author Share Posted July 10, 2006 apache is running and when i test port 80 it says apache and php is using this port. but it still wants to download the .php file... should i delete wamp5 all together and just get php, mysql, and apache as the stand alone installations instead of this all in one wamp program? Quote Link to comment https://forums.phpfreaks.com/topic/14170-php-not-working-now-ie-wants-to-dl-php-files/#findComment-55559 Share on other sites More sharing options...
Daniel0 Posted July 10, 2006 Share Posted July 10, 2006 Is your httpd.conf configured correct to use the PHP? Quote Link to comment https://forums.phpfreaks.com/topic/14170-php-not-working-now-ie-wants-to-dl-php-files/#findComment-55560 Share on other sites More sharing options...
kenrbnsn Posted July 10, 2006 Share Posted July 10, 2006 How are you invoking your scripts? Via a url like http://localhost/script.html or are you double clicking the file? If you're double clicking, that's you're problem. Double clicking does not send the file through the Apache webserver, but just brings up a browser which tries to figure out what you want and most browsers do not know what do do with PHP files.Ken Quote Link to comment https://forums.phpfreaks.com/topic/14170-php-not-working-now-ie-wants-to-dl-php-files/#findComment-55695 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.