Re: Installation of Apache & PHP4 on Windows

From: Date: Mon, 14 May 2001 08:36:03 +0000
Subject: Re: Installation of Apache & PHP4 on Windows
Groups: php.windows 
Request: Send a blank email to php-windows+get-7533@lists.php.net to get a copy of this message
Hello, Apache does some of the setting up for you...but there are some parameters you need to set...with the server name being the major one, or else it wont run. In your apache directory, you will see a folder named "conf" open that up, and find the file "httpd.conf" open this file in wordpad. Once this is done do a find, or manually look through the document for "servername" once you find this make sure its not commented out (doesnt have a # before it) and set the servername, localhost will work fine, as well as your machine name (if you have it on a network). Then save this document and start (or restart) apache. This httpd.conf file is also where you will tell apache how to find php as well, so you may want to do these settings as well. Hope this helps! ~Jeff 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

« previous php.windows (#7533) next »