[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Apache (PHP not working)



 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yea, I know they're uncommented, when the look at their httpd.conf and find those lines, they'll see that their's IS commented, and they need to make it look like these.  I should have been more clear.

Vince Hillier
vdh@plutonium.homeunix.com
http://plutonium.homeunix.com


- -----Original Message-----
From: Justin Ryan [mailto:justin@gnubian.org] 
Sent: Wednesday, November 13, 2002 7:36 AM
To: debian-user@lists.debian.org
Subject: RE: Apache (PHP not working)

> If you're just installing a precompiled kernel (from a package or something) just add the modules name "8139" to /etc/modules

I beleive it'll be 8139too - in any case, it should be the same as
2.4.18-bf2.4 :)

> edit your /etc/apache/httpd.conf and uncomment:
>     #php
>     AddType application/x-httpd-php .php 
>     AddType application/x-httpd-php-source .phps

Erm, these are uncommented :)

Perhaps the PHP scripts are not correctly printing the Content-Type
header?

try something like this at the beginning of your script(s):

print "Content-Type: text/html\n\n";

Have fun :)

- -Jus

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0 (Build 349) Beta

iQA/AwUBPdKj90BtW3tWqkVxEQJC+QCdGntmQmdyizh+bSah6L0A2KaW/yMAoOM+
LzBXW6Ln/l3nrtq+OOwvNwPD
=uAIK
-----END PGP SIGNATURE-----




Reply to: