Random Posted March 23, 2003 Share Posted March 23, 2003 Where do I add the apache line so I can use MySQL pages? Right now it comes up to download the php file when anything has to do with MySQL commands. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/254-problem-with-mysql-and-apache/ Share on other sites More sharing options...
Random Posted March 24, 2003 Author Share Posted March 24, 2003 nevermind, it had to be a .php file instead of .phtml...anyone know how to let it be .phtml? Quote Link to comment https://forums.phpfreaks.com/topic/254-problem-with-mysql-and-apache/#findComment-759 Share on other sites More sharing options...
holiks Posted March 24, 2003 Share Posted March 24, 2003 ...ssssure! in your httpd.*cough* find: AddType application/x-httpd-php .php replace with: AddType application/x-httpd-php .php .phtml hope it helps :wink: Quote Link to comment https://forums.phpfreaks.com/topic/254-problem-with-mysql-and-apache/#findComment-760 Share on other sites More sharing options...
LiamG Posted March 24, 2003 Share Posted March 24, 2003 You can also add other file types like: AddType application/x-httpd-php .php .phtml .html .google HTH, LiamG. Quote Link to comment https://forums.phpfreaks.com/topic/254-problem-with-mysql-and-apache/#findComment-763 Share on other sites More sharing options...
Random Posted March 24, 2003 Author Share Posted March 24, 2003 is it possible to make up your own extensions? or not? Quote Link to comment https://forums.phpfreaks.com/topic/254-problem-with-mysql-and-apache/#findComment-780 Share on other sites More sharing options...
LiamG Posted March 24, 2003 Share Posted March 24, 2003 Of course: hence, I put .google. LiamG. Quote Link to comment https://forums.phpfreaks.com/topic/254-problem-with-mysql-and-apache/#findComment-781 Share on other sites More sharing options...
Random Posted March 25, 2003 Author Share Posted March 25, 2003 oh alright lol i wondered so I could make it .randomdesign Quote Link to comment https://forums.phpfreaks.com/topic/254-problem-with-mysql-and-apache/#findComment-785 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.