- Original Message -
From: tb [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 10:28 PM
Subject: yes! (Re: frustrating *dumb* problem getting php to work
underapache)
[EMAIL PROTECTED] (Tue 08/12/03 at 10:01 PM +0100):
As it sounds like you've done everything alright, could I suggest you
try
creating a page, for now index.php and inside putting the following
yeah, i was trying php scripts in .php files. i know, it
never hurts to ask...
You'll want to do this with
LoadModule php4_modulelibexec/apache/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php
In the apache configuration...
BINGO! in three out of three (actually, more like ten out of ten)
of my test config files, i had two out of three of those lines.
i knew it was dumb mistake. otoh, i don't think i saw a single
FAQ that said 'HEY STUPID -- you need *three* new configs to
get this to work. so now i know. i'll make a note of it in my
httpd.conf and put it up somewhere.
THANKS MUCH! you brightened up my day. ok, now what kind of
beer should i attach? (just make sure you have the plug-in. :)
cheers,
t
No problem :o)
There's also this one if you need it
AddType application/x-httpd-php-source .phps
Then files with the .phps extension will display the source code highlighted
and things :o)
I always thought that installing php put all three lines in for you, or
maybe I did add them myself... it's been a long time since I had to deal
with setting up Apache ;)
I can legally drink beer now too (only just 18 years old did you know),
anything will do :o) Some money is attached :o) (Can you tell I am still a
kid?)
£5 :o)___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]