pura Posted May 24, 2007 Share Posted May 24, 2007 Hi I tried to run php with Apache in windows. But Apache doesn't recognize the PHP file and returns an alert box to save a file. i knew that i need to have a line AddType application/x-httpd-php. php in httpd.conf under conf directory or apache installed directory. But this doesn't work. can i get any help please. many thanks Quote Link to comment https://forums.phpfreaks.com/topic/52865-help-for-php-apache/ Share on other sites More sharing options...
Lumio Posted May 24, 2007 Share Posted May 24, 2007 Try XAMPP. Easy to use. Quote Link to comment https://forums.phpfreaks.com/topic/52865-help-for-php-apache/#findComment-261033 Share on other sites More sharing options...
yzerman Posted May 24, 2007 Share Posted May 24, 2007 Hi I tried to run php with Apache in windows. But Apache doesn't recognize the PHP file and returns an alert box to save a file. i knew that i need to have a line AddType application/x-httpd-php. php in httpd.conf under conf directory or apache installed directory. But this doesn't work. can i get any help please. many thanks What version of apache and what version of windows are you using? Have you copied the php dll's as you are told to do in the PHP install readme file? Quote Link to comment https://forums.phpfreaks.com/topic/52865-help-for-php-apache/#findComment-261035 Share on other sites More sharing options...
pura Posted May 24, 2007 Author Share Posted May 24, 2007 Hi I'm using windows xp and apache 2.0..... thanks Quote Link to comment https://forums.phpfreaks.com/topic/52865-help-for-php-apache/#findComment-261041 Share on other sites More sharing options...
pocobueno1388 Posted May 24, 2007 Share Posted May 24, 2007 Try XAMPP. Easy to use. I agree...It does all the dirty work for you. Quote Link to comment https://forums.phpfreaks.com/topic/52865-help-for-php-apache/#findComment-261043 Share on other sites More sharing options...
pura Posted May 27, 2007 Author Share Posted May 27, 2007 Hi, I finally got the key to run PHP in XP- Apache. One more line LoadModule php5_module "c:/php5/php5apache2.dll" was to be added. Thanks a lot. Quote Link to comment https://forums.phpfreaks.com/topic/52865-help-for-php-apache/#findComment-262858 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.