error:apache service not started [-1] [closed] - apache

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have installed xampp. When i open xampp control panel, mysql and filezilla services are running, but not apache. When i click to start apache it gives me this
ERROR:error:apache service not started [-1]
I have even blocked firewalls for this.
Why this is happeneing and how can i start apache services.I have installed xampp in my E: directory.

here is the steps which will make apache work normally without such errors
Firstly, make sure that Apache is stopped
Make sure, Svc check box is unchecked
Now! go to your XAMPP Folder (C:\xampp\apache\ – I installed the xampp in C:)
Now! double click on “apache_uninstallservice.bat” which is available in apache folder.
After above step, now open your XAMPP Control Panel again and click on Start button which is beside Apache, and make sure that you will not check the Svc checkbox provided.
such errors my happen in old operation systems for example win XP or Vista...
and the latest versions of xampp may not have the corresponding configurations

I found this page looking for a solution to this problem after downloading xampp lite.
I solved this as follow:
The installed service for apache from xampp uses the standalone installation path for apache; c:\program files\apache2.x\...etc and not the local path in xampp folder.
Just modify all registry keys that include the wrong path for apache service in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Apache2.x and it should work.

There could be many causes.
Make sure you have no other applications using the port that apache is using. From the XAMPP control panel there is a button you can press to run a tool to check which ports are in use. Applications which I know to conflict with Apache are Skype and Panda Media; there could be others.

Unselect the Svc box in the XAMPP control panel and try to restart it. Should work.

Related

How to run Wamp server?

I have a wamp server as well as Xampp installed. I am unable to start my wamp server. When I try to start services, it stops in orange state, never moves to green. But I am getting to see my local host in browser with Xamp under this situation. Can any one help me how to get my wamp server only running.
Sorry for being naive. I am just starting.
if you are using Ubuntu 14.0 you can try somewhat like this in the Terminal Window by pressing Ctrl+Alt+T
Stopping web server apache2
sudo /etc/init.d/apache2 stop (find the path where your xampp server is located)
Starting XAMPP
sudo /opt/lampp/manager-linux.run (find the path where your wamp server is located)
For Windows
Press Windows Key + R or go to run
Type services.msc
Then stop the service for Xampp Server
If Apache is not running as a Windows Service:
you use the Xampp Control Panel Application to stop and start Apache.
I also experienced the same problem and I hope it will work
INSTALLING
Double click on the downloaded file and just follow the instructions.
Everything is automatic. The WampServer package is delivered whith
the latest releases of Apache, MySQL and PHP.
Once WampServer is installed, you can manually add aditionals Apache,
Php or MySql (only VC9, VC10 and VC11 compiled) versions.
Explanations will be provided on the forum.
Each release of Apache, MySQL and PHP has its own settings and its
own files (datas for MySQL).
Using wampserver
The “www” directory will be automatically created (usually
c:\wamp\www)
Create a subdirectory in “www” and put your PHP files inside.
Click on the “localhost” link in the WampSever menu or open your
internet browser and go to the URL : http://localhost
Installing Wamp

Where is Apache download directory? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I want to download Apache. The website apache.org redirected me to this page (mirror) http://mirrors.ibiblio.org/apache/ At that page there are a lot of folders none of them is called Apache, and this fact is confusing for me. What should I download out of that bunch of folders?
You’re probably confused because you want to download the Apache Webserver (httpd). Apache is a software foundation though which does a lot more things than just the webserver.
That being said, you can download Apache httpd here: http://httpd.apache.org/download.cgi
Do you want the binaries or the source code?
If you know what you're doing Im guessing the correct directory is here:
http://mirrors.ibiblio.org/apache/httpd/
Apache has tonnes of projects so theres a bunch of folders for each.
Let us know what OS you are using because there is probably an easy way integrated into your OS for example debian or ubuntu:
sudo apt-get install apache2
The Apache HTTP server? Or some other Apache project? You can see a list of all their projects at this page, near the bottom - http://www.apache.org/dyn/closer.cgi
Click on the project name and it will take you to that project with a more direct download link.

Apache ~ How to Not Start Apache on Computer Boot

I finished coding my website for awhile and would like to stop Apache from starting when my computer boots because it slows down my other startup applications. I have looked through the Apache Wiki, the source files, and the htaccess file. Maybe I am not finding it, but is there any way to do this without uninstalling Apache?
I am using Windows 7 as an OS.
*I just want to mention that this is different than simply stopping or starting or restarting Apache. I know how to do that. I would just like it not to start up on boot until I start working on my website again.
Thanks
Open msconfig (start->type "msconfig"->click "msconfig.exe")
Check "Startup" tab for Apache or "Services" tab if you can't find it, and disable it.

IIS Failed To Run & XAMPP Anomally

I recently activate IIS7 feature in my Windows (through control panel)
Previously I already installed XAMPP in my machine (configured to run on port 8080 through the httpd.conf file)
What happen is:
I am not able to invoke the iis startpage.. (using address http://localhost/), doesn't display error or anything, jus a plain blank page..
on the other hand, when I tried to run my XAMPP, i noticed that on the control panel it is mentioned that it's running on port 80 (which contrary to my settings)
However XAMPP startup page still can only be invoked through http://localhost:8080/xampp. I figured that if what the control panel telling me is true, I shouldn't need to include the ":8080"..
Can anyone give any idea how this happen? And how to fix this anomally, thx?
I some time ago successfully installed a IIS and XAMPP in a Windows (I use Windows 7 Ultimate) and both are running smoothly. But before installing XAMPP, I have activated & using IIS before. I'm using XAMPP 1.7.3.
Maybe you could try to install IIS first, XAMPP. Before installing XAMPP, make sure the IIS service is running / active.
Hope it helps.

Apache wont start after copy zend library xampp

after copying zend library in my zend proj and refresh the page Apache wont start.
it show me this error : Appache Http Server has stopped working
i use of xampp , version 1.7
Your question is really vague. There can be a number of things that went wrong and you didn't give us enough background information on the install. (like config files you changed, directories you renamed, etc.)
If you cannot start Apache, the first place to check is the Apache error log file for problems. It will most likely have an error that we can help you troubleshoot.
I am not familiar with xampp directory paths but will take a guess that you need to look here: /xampp/apache/logs/error.log.
i`ve change my xampp version to 1.7.3 , now it work nice