Jump to content

Archived

This topic is now archived and is closed to further replies.

Random

Problem with MySQL and Apache...

Recommended Posts

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.

Share this post


Link to post
Share on other sites

nevermind, it had to be a .php file instead of .phtml...anyone know how to let it be .phtml?

Share this post


Link to post
Share on other sites

:lol: ...ssssure!

 

in your httpd.*cough* find:


AddType application/x-httpd-php .php

:lol::lol:

replace with:


AddType application/x-httpd-php .php .phtml

hope it helps :wink:

Share this post


Link to post
Share on other sites

You can also add other file types like:

AddType application/x-httpd-php .php .phtml .html .google

HTH,

 

LiamG.

Share this post


Link to post
Share on other sites

is it possible to make up your own extensions? or not? :D

Share this post


Link to post
Share on other sites

Of course: hence, I put .google.

 

LiamG.

Share this post


Link to post
Share on other sites

oh alright lol i wondered :P so I could make it .randomdesign :P

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.