Welcome! Log In Create A New Profile

Advanced

I CAN'T GET APACHE TO WORK ON MY WIN 7

Posted by 78143489 ERICCHE 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
I CAN'T GET APACHE TO WORK ON MY WIN 7
July 10, 2013 08:57AM
I was using WAMP Server then i figured out that XAMPP is easier so i now use it with notepad++

I have now installed XAMPP on my windows 7 machine but can't get Apache to work. On start I get the following errors:

13:09:21 [apache] Apache Service Detected With Wrong Path
13:09:21 [apache] Uninstall the service manually first
13:09:21 [apache] Possible problem detected!
13:09:21 [apache] Port 80 in use by "system"!
13:09:21 [tomcat] Tomcat Service Detected With Wrong Path
13:09:21 [tomcat] Uninstall the service manually first

After opening the XAMPP panel and installing Apache service: I have tried start it, it always get stuck "Starting apache service..."

What could i be missing to do? Please advice me.

ERICconfused smiley
Re: I CAN'T GET APACHE TO WORK ON MY WIN 7
July 10, 2013 09:12AM
hi Eric. did you install it direct into you c drive or program files?
Re: I CAN'T GET APACHE TO WORK ON MY WIN 7
July 10, 2013 09:23AM
I did install it directly into my C drive
Re: I CAN'T GET APACHE TO WORK ON MY WIN 7
July 10, 2013 09:23AM
I have installed everything manually, go to your Apache "httpd.conf" file and make sure your Load Modules look like this:

LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
#LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule headers_module modules/mod_headers.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.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 mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so

and at the end of the httpd.conf file make sure you include php to work with it with this:

LoadModule php5_module "c:/php/php5apache2.dll"
AddHandler application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:/php"

<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>

NB!!! make sure your directories are correct! smiling smiley this worked for me on win7
Re: I CAN'T GET APACHE TO WORK ON MY WIN 7
July 10, 2013 05:06PM
Hi Eric,

My machine is running Windows 8. I couldn't get XAMPP to work either!
While installing EasyPHP, I found there was an incompatibility problem with Norton and
have disabled it, Maybe you should give that a try!
Re: I CAN'T GET APACHE TO WORK ON MY WIN 7
July 10, 2013 05:18PM
Hi,

Thanks for the copy of the manual installation, I'm saving it!

Regards
Re: I CAN'T GET APACHE TO WORK ON MY WIN 7
July 10, 2013 10:36PM
Hi

if you have not come right, check out the solution on this link: http://complete-concrete-concise.com/web-tools/how-to-change-the-apache-port-in-xampp.

Hope it helps. I had the same problem and its resolved now.
Re: I CAN'T GET APACHE TO WORK ON MY WIN 7
July 11, 2013 09:02AM
Hi all, thanks for your help.

finally i can now connect and see my projects but it was a bit of work to get here.
Re: I CAN'T GET APACHE TO WORK ON MY WIN 7
July 12, 2013 05:43PM
Sorry, only registered users may post in this forum.

Click here to login