Hi there I recently downloaded and installed XAMPP and after stopping my IIS server I actually managed to get .php files working. I then flicked IIS back on to do some .asp work and now I’m unable to start Apache again. I get a [-1] I have literally tried everything: 1. Stopped Apache in ‘Services’ 2. Used .bat to stop Apache 3. Tried to use XAMPP control panel 4. Uninstalled and re-installed All of these unfortunately haven’t worked. Now in the control panel I’m able to start MySql and FileZilla but when I click ‘Start’ next to Apache it says ‘server started, but the green background doesn’t appear and if I highlight that area it states that its ‘Stopped’. For testing I’m just trying to hit http://localhost/xampp/ but I’m getting a page cannot be displayed. Has anyone got any ideas? Really appreciate any help with this. Thanks
Does httpd.exe appear in running processes (Ctrl+alt+del) Also are there any other IIS related services in running processes, end them What i'd do is restart P.C, then start up XAMPP control panel, then click start on Apache, then wait about 30 seconds then try to browse to localhost. If this still does not work then i'd just uninstall and re-install XAMPP.
Two services can't share the same port. That being said, make sure that both IIS and Apache has been shut down then attempt to boot up apache again. If you're only using apache to do php, but rely on IIS for asp... you can actually do PHP with IIS just gota install the php module. That should cut down on some difficulties if you just stick to IIS.
Hi Guys Thnaks for your pointers. I restarted my PC and tried to start Apache again but in the control all I get is ERROR: Apache servicenot started [-1]. I'm just not having much luck with XAMPP at all. So I'm interested to know more about running php through IIS. kblessinggr - I don't suppose you could provide some detailed steps as to how I could get .asp and .php files both running on IIS as this would be the ideal scenario. Essentially my aim s to have Joomla installed and runnning on my local host so I can build the site and then deploy them onto the hosting. Where do I get the module you referred to and how do I get it up and running. many thanks again
It's been years, but here's some instructions for IIS 6. http://peterguy.com/php/install_IIS6.html And another one that covers IIS6 and 7, with a lil more visual guide. http://www.cyprich.com/2009/05/19/how-to-install-php-on-iis/ The last time I used PHP with IIS was back in 2002-2003, and back then it wasn't all that difficult to do, so I'm sure its easier now days. Generally speaking you get it setup as a CGI on IIS, where as on apache it can be installed as an actual sapi module.
I ve has the same problem Apache would not run try 2 do Port-Check form XAMPP control panel see what is running In my case i ve stopped SKYPE and all went good Good Luck
I think you'd have fixed the issue by now (looking at the post date), but on a side note, it'd probably be best to post in the official support board over at: http://www.apachefriends.org/f/