otuatail Posted July 21, 2011 Share Posted July 21, 2011 Hi this should work. Have downloaded httpd-2.2.19-win32-x86-no_ssl.msi and installed on Windows 7(64). It goes through fine then I get httpd.exe could not reliably determine the servers fully qualified domain name, using 192.168.1.100 for servername. Any help on this TIA Desmond. Quote Link to comment https://forums.phpfreaks.com/topic/242537-installing-apache-on-windows-764/ Share on other sites More sharing options...
trq Posted July 21, 2011 Share Posted July 21, 2011 That is nothing to be too concerned about. Just add a SERVERNAME directive within your httpd.conf file (or ignore the error). Quote Link to comment https://forums.phpfreaks.com/topic/242537-installing-apache-on-windows-764/#findComment-1245589 Share on other sites More sharing options...
otuatail Posted July 21, 2011 Author Share Posted July 21, 2011 Ok but http://localhost/ can't find this I followed a book using mydomain.com www.mydomain.com admin@mydomain.com Also I changed the instalation from c:\program files to C:/Apache2.2" I have also in the config file THIS means nothing to me minus the comments ServerRoot "C:/Apache2.2" Listen 80 LoadModule actions_module modules/mod_actions.so LoadModule alias_module modules/mod_alias.so LoadModule asis_module modules/mod_asis.so LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule authn_default_module modules/mod_authn_default.so LoadModule authn_file_module modules/mod_authn_file.so LoadModule authz_default_module modules/mod_authz_default.so LoadModule authz_groupfile_module modules/mod_authz_groupfile.so LoadModule authz_host_module modules/mod_authz_host.so LoadModule authz_user_module modules/mod_authz_user.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule cgi_module modules/mod_cgi.so LoadModule dir_module modules/mod_dir.so LoadModule env_module modules/mod_env.so LoadModule include_module modules/mod_include.so LoadModule isapi_module modules/mod_isapi.so LoadModule log_config_module modules/mod_log_config.so LoadModule mime_module modules/mod_mime.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule setenvif_module modules/mod_setenvif.so <IfModule !mpm_netware_module> <IfModule !mpm_winnt_module> User daemon Group daemon </IfModule> </IfModule> ServerAdmin admin@mydomain.com DocumentRoot "C:/Apache2.2/htdocs" <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory> <Directory "C:/Apache2.2/htdocs"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> <IfModule dir_module> DirectoryIndex index.html </IfModule> <FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All </FilesMatch> ErrorLog "logs/error.log" LogLevel warn <IfModule log_config_module> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common <IfModule logio_module> # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio </IfModule> CustomLog "logs/access.log" common </IfModule> <IfModule alias_module> ScriptAlias /cgi-bin/ "C:/Apache2.2/cgi-bin/" </IfModule> <IfModule cgid_module> </IfModule> <Directory "C:/Apache2.2/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> DefaultType text/plain <IfModule mime_module> TypesConfig conf/mime.types AddType application/x-compress .Z AddType application/x-gzip .gz .tgz </IfModule> <IfModule ssl_module> SSLRandomSeed startup builtin SSLRandomSeed connect builtin </IfModule> Quote Link to comment https://forums.phpfreaks.com/topic/242537-installing-apache-on-windows-764/#findComment-1245602 Share on other sites More sharing options...
trq Posted July 21, 2011 Share Posted July 21, 2011 What? Quote Link to comment https://forums.phpfreaks.com/topic/242537-installing-apache-on-windows-764/#findComment-1245612 Share on other sites More sharing options...
otuatail Posted July 21, 2011 Author Share Posted July 21, 2011 You said That is nothing to be too concerned about. Just add a SERVERNAME directive within your httpd.conf file (or ignore the error). I said that when Apache is installed. opening a browser and typing in http://localhost/ Dosn't work. I should get a default (index.php) page. Quote Link to comment https://forums.phpfreaks.com/topic/242537-installing-apache-on-windows-764/#findComment-1245736 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.