Author |
|
marish
Joined: 28 Nov 2011 Posts: 4
|
Posted: Mon 28 Nov '11 17:03 Post subject: How to install apache |
|
|
I am new to apache
I m using windows 7 os
once i start it shows like this
httpd.exe: Could not reliably determine the server's
fully qualified domain name, using fe80::2df2:c0fd:f286:a5e4 for ServerName |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3093 Location: Hilversum, NL, EU
|
Posted: Mon 28 Nov '11 20:24 Post subject: |
|
|
Is Apache running ?
You say "..like this..", this is a warning and Apache should run.
Steffen |
|
Back to top |
|
marish
Joined: 28 Nov 2011 Posts: 4
|
Posted: Tue 29 Nov '11 15:24 Post subject: |
|
|
Steffen wrote: | Is Apache running ?
You say "..like this..", this is a warning and Apache should run.
Steffen |
How to install apache on windows 7 step by step instructions plz |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
marish
Joined: 28 Nov 2011 Posts: 4
|
Posted: Tue 29 Nov '11 19:38 Post subject: |
|
|
i just installed apache2 on windows 7 after install it takes me to localhost website and shows a message "It Works".
Then i restart the system and open localhost it shows me problem loading the page so i tried to start the apache on the taskbar then it pop up a message called "The requested operation has failed!"
Then i tried the command C:\programs files\apache software foundation\apache2.2\bin\httpd -S
It shows me a error message
httpd: Syntax error on line 495 of C:\programs files\apache software foundation\apache2.2\conf\httpd.conf: Cannot load C:\programs files\apache software foundation\apache2.2\php5apache2_2.dll into server: The specified module could not be found |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 29 Nov '11 22:44 Post subject: |
|
|
This going to be one of a couple things
you have Loadmodule php5_module modules/php5apache2_2.dll
and the module is not in the Apache modules folder but in the php folder
you have the php5_apache2.2.dll in Apache's module folder but it cannot find other needed dlls in the php folder (php5ts.dll or other).
You are running an Apache from apache.org (this seems to be the case) which is VC6 and you are trying to load the php module of a VC9 built PHP, this will not work, and is why at windows.php.net on the left column under "Which version do I choose?" it states not to do this, and says you can get VC9 versions here. |
|
Back to top |
|
marish
Joined: 28 Nov 2011 Posts: 4
|
Posted: Wed 30 Nov '11 6:06 Post subject: |
|
|
Finally i solved the problem
The apache gets works after disabling UAC in control panel and the following codes hepled me
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "c:/program files/php"
LoadModule php5_module "c:/program files/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
Here i make these changes(my Dir) and its works fine at last
Thanks for reply |
|
Back to top |
|