sKunKbad Posted May 28, 2007 Share Posted May 28, 2007 I need to be able to set my WAMP installation to process files with a .php5 file extension, but can't find where to make a setting change to do it. Please help. Link to comment https://forums.phpfreaks.com/topic/53313-solved-processing-files-with-file-extensions-other-than-php/ Share on other sites More sharing options...
wildteen88 Posted May 28, 2007 Share Posted May 28, 2007 You'll want to edit Apache's httpd.conf file which I believe is located in C:/wamp/apache/conf/ Open up the httpd.conf file for editing and find the following line: AddTYpe application/x-httpd-php .php and change it to: AddTYpe application/x-httpd-php .php .php5 Save the httpd.conf file. Now select the WAMP taskbar icon and select the Restart All Services options. .php5 files should now have the PHP code parsed within them when you go to http://localhost Link to comment https://forums.phpfreaks.com/topic/53313-solved-processing-files-with-file-extensions-other-than-php/#findComment-263482 Share on other sites More sharing options...
sKunKbad Posted May 29, 2007 Author Share Posted May 29, 2007 They don't call you "Super Moderator Genius" for nothing! Thanks! Link to comment https://forums.phpfreaks.com/topic/53313-solved-processing-files-with-file-extensions-other-than-php/#findComment-263737 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.