Jump to content


Photo

Problem with MySQL and Apache...


  • Please log in to reply
6 replies to this topic

#1 Random

Random
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts
  • LocationIndiana

Posted 23 March 2003 - 07:09 PM

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.

#2 Random

Random
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts
  • LocationIndiana

Posted 24 March 2003 - 01:26 AM

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

#3 holiks

holiks
  • Members
  • PipPipPip
  • Advanced Member
  • 83 posts

Posted 24 March 2003 - 02:15 AM

: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:
__________________________________________________________[br]$php = array('..a stack', '...once you pop', '...you don't stop');

#4 LiamG

LiamG
  • Members
  • PipPipPip
  • Advanced Member
  • 46 posts
  • LocationMelbourne, Australia

Posted 24 March 2003 - 03:57 AM

You can also add other file types like:

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

HTH,

LiamG.

#5 Random

Random
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts
  • LocationIndiana

Posted 24 March 2003 - 09:45 PM

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

#6 LiamG

LiamG
  • Members
  • PipPipPip
  • Advanced Member
  • 46 posts
  • LocationMelbourne, Australia

Posted 24 March 2003 - 10:39 PM

Of course: hence, I put .google.

LiamG.

#7 Random

Random
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts
  • LocationIndiana

Posted 25 March 2003 - 01:02 AM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users