Rachel Baillie wrote:

> I recently brought the book PHP fast & east web development. I am having problems 
>trying to run PHP and an Apache Server on Windows. I have Windows ME.
> 
> It was suggested to me that I had a spelling mistake. I am not sure where that would 
>be as I have followed the instructions in the book very carefully. It was suggested 
>that I should correct the spelling mistake while in Apache but I received the 
>following message.
> 
>     APACHE.EXE: cannot determine local host name.
>     Use the ServerName directive to set it manually.
> 
> I am not sure how to read and then fix the error. Are there any names other than 
>"localhost" that might recognise the local software for Windows ME.
> 
> Thank you for your suggestions.
> 
> Rachel Baillie

There is a place in httpd.conf that says:

#ServerName new.host.name

or something along those lines.

It should be:

ServerName localhost

Or, some actual host+domain name that your computer is called and 
recognized as in DNS.

Save httpd.conf.

Restart Apache.


-- 
+----------------------------------------+
| Julie Meloni ([EMAIL PROTECTED])     |
|                                        |
| "PHP Essentials" and "PHP Fast & Easy" |
|       http://www.thickbook.com         |
+----------------------------------------+


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to