Re: php not working (this message fixed it!!)

2002-10-17 Thread Matt Price


for me, it was just slightly more complicated -- instead of
uncommenting 

AddType application/x-httpd-php3 .php3

I just added .php3 o the php4 mime-types:
AddType application/x-httpd-php .php .php4 .php3 .phtml

and everything now seems to work fine.  I got this trick from a
friend's RedHat configuraiton file, by the way...  

thanks for al lthe help
m



On Wed, Oct 16, 2002 at 04:45:27PM -0400, Chip Rose wrote:
 
 
 On Wed, 16 Oct 2002, James Hughes wrote:
 
  On Wed, Oct 16, 2002 at 12:08:25PM +1000, Rob Weir wrote:
   On Tue, Oct 15, 2002 at 03:52:00PM -0400, Matt Price wrote:
hey htere everyone,
   
trying to get php4 installed on my woody server and don't seem to have
it figured out right.  I've downloaded a package (SPIP) that runs on
php3; I have php4 installed; when I try to load page
(http://pc09.hist.utoronto.ca/~matt/spip/ecrire/index.php3) in my
browser, it always wants to download it, and if it opens the page, all
I see is the sourcecode.  Do I need to use php3 instead?
  
   I think you just need to edit your /etc/apache/httpd.conf file and
   uncomment this line:
   AddType application/x-httpd-php3 .php3
 
  Also, maybe try uncommenting this line:
 
   LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
 
  
   -rob
 
 Yahho!It worked for me - I had the same wants to
 download it situation - uncommenting the AddType wasn't good
 enough and I was really puzzling over it.  I was going to
 research a couple more days and then post a request on the
 mysql list, but after reading your message, uncommenting the LoadModule
 line did the trick.  THANKS!!!
  - Chip Rose
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: php not working (this message fixed it!!)

2002-10-16 Thread Chip Rose



On Wed, 16 Oct 2002, James Hughes wrote:

 On Wed, Oct 16, 2002 at 12:08:25PM +1000, Rob Weir wrote:
  On Tue, Oct 15, 2002 at 03:52:00PM -0400, Matt Price wrote:
   hey htere everyone,
  
   trying to get php4 installed on my woody server and don't seem to have
   it figured out right.  I've downloaded a package (SPIP) that runs on
   php3; I have php4 installed; when I try to load page
   (http://pc09.hist.utoronto.ca/~matt/spip/ecrire/index.php3) in my
   browser, it always wants to download it, and if it opens the page, all
   I see is the sourcecode.  Do I need to use php3 instead?
 
  I think you just need to edit your /etc/apache/httpd.conf file and
  uncomment this line:
  AddType application/x-httpd-php3 .php3

 Also, maybe try uncommenting this line:

  LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

 
  -rob

Yahho!It worked for me - I had the same wants to
download it situation - uncommenting the AddType wasn't good
enough and I was really puzzling over it.  I was going to
research a couple more days and then post a request on the
mysql list, but after reading your message, uncommenting the LoadModule
line did the trick.  THANKS!!!
 - Chip Rose


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]