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

Re: apache and php



On Tue, 2002-11-19 at 08:40, Shyamal Prasad wrote:
>     "Chris" == Chris Lale <ctlale@coolscience.co.uk> writes:
> 
>     Chris> I did get an alert during installation: [alert] apache:
>     Chris> Could not determine the server's fully qualified domain
>     Chris> name, using 127.0.0.1 for ServerName.
> 
> I can't help with your PHP problem, but you really need to fix this if
> you ever browse your apache served pages from another place. Your best
> bet is to edit the config file and set ServerName to the IP address of
> the system. Otherwise redirects fail and things can be quite
> bizzare. This might even be the source of your PHP problem, but it
> might not (never used PHP).

I would actually edit your /etc/hosts file to change the servername. 
The line should say something like:

127.0.0.1	athlon		athlon.fully_qualified_domain_name 

and replace the fully_qualified_domain_name with your name.

-- 
**************************************************************
Jeremy Turner, Help Desk Supervisor        Phone: 405.425.5555
Email: Jeremy.Turner@oc.edu                Phone: 405.425.1820
Information Technology Services, Oklahoma Christian University
**************************************************************
Linux jturnermac 2.4.19 #10 Mon Oct 14 13:14:58 CDT 2002 ppc unknown
unknown GNU/Linux
 09:55:01 up 21 days, 20:25,  3 users,  load average: 0.34, 0.21, 0.13



Reply to: