Re: Installation of Apache & PHP4 on Windows
| From: | Julie Meloni | Date: | Mon, 14 May 2001 14:06:16 +0000 |
| Subject: | Re: Installation of Apache & PHP4 on Windows | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-7539@lists.php.net to get a copy of this message | ||
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 (julie@thickbook.com) |
| |
| "PHP Essentials" and "PHP Fast & Easy" |
| http://www.thickbook.com |
+----------------------------------------+