xampp Apache not running - xampp

few weeks before my xamppp was working properly.
but today when i started it ....it failed to open its phpmyadmin page..
so i installed it again.
now its apache is not running.
another webserver is running??? whats that??
enter image description here
the above image shows the error.
although apache was not running ...i tried start localhost.
and this cameup.
enter image description here

got my error.
port 80 was occupied by apache2.
removed apache2 from port 80 and it started woorking again.

Related

another web server is already running and unable to run Apache2

I am using Kali linux
I am unable to run Apache2, i tried so many ways to fix it .., i successful installed xampp and apache2 but dont know why apache not running, mysql and proFTD is running
When i run code to to check the status of apache in lampp it show that another web server is already running.
(another web server already runing)
write this code in terminal
/opt/lampp/xampp disablessl
then check for the apache
sudo /opt/lampp/xampp start
Starting XAMPP for Linux 7.2.5-0...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...already running.
XAMPP: Starting ProFTPD...already running.

Unable to start XAMPP Apache server on MacOS-Sierra

Whenever I'm trying to start my Apache server from XAMPP on my Macbook (MacOS-Sierra) . I'm getting following application log :
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
And status remains Stopped. I re-install XAMPP and restarted my laptop multiple times, but I'm still having same issue. Couldn't find anything help to resolve this issue.
I found the solution:
Make sure port 80 is not being used (Use Network Utility and scan for port 80. If you found any application using port 80, then kill it)
Open terminal and execute
sudo apachectl stop
(ignore, if you get any error)
On the same terminal window execute
sudo /Applications/XAMPP/xamppfiles/bin/apachectl start
Open XAMPP control panel, your apache server might have started by now, if not then you can start manually by clicking start button.
This worked for me!!
Simply goto your terminal and type:
sudo apachectl stop
It'll ask for password. Enter your system password.
Go back to XAMPP control panel and start Apache.
It should get started now.
I had the same Problem and fixed it by deleting the lib folder in Applications/XAMPP/xamppfiles/ and installing XAMPP again. It's probably due to old lib files from previous versions not being updated properly.
Another related issue, which I faced caused Apache sever failure. And failure logs is :
[Sun Jul 30 12:43:58.747822 2017] [unique_id:alert] [pid 9188] (EAI 8)nodename nor servname provided, or not known: AH01564:
unable to find IPv4 address of "MacBook-Pro.local" AH00016: Configuration Failed
To solve this :
Executed following command
sudo -e /etc/hosts
Then, changed following entries
127.0.0.1 localhost
::1 localhost
to
127.0.0.1 localhost MacBook-Pro.local
::1 localhost MacBook-Pro.local
I had the same issue when I update my XAMPP app, if you have to do this, you first have to uninstall your XAMPP (save your HTDOCS files in another folder, NOT in XAMPP folder, or you will lose it), and after that you can install the newest version of XAMPP. It worked for me, hope for you too.

blankpage while trying phpmyadmin

I have installed xampp in my windows. when I try to start apache and mysql it is getting started but while running in browser I m getting apache running successfully but phpmyadmin is executing but it is showing a blank page without any error! what's the solution

XAMPP not running on Windows 7

I have installed XAMPP on Windows 7 ulimate successfully. But the following error was found during running Apache from XAMPP Control Panel:
Problem detected!
Port 3306 in use by ""C:\Program Files\MySQL Server 5.1\bin\mysqld" - defaults-file....
MySQL WILL NOT start without the configured ports free
You need to uninstall/disable/reconfigure the blocking application
or reconfigure my SQL and the Control Panel to listen on a different port
Please help solve this problem. Thanks in advance!
The message clearly says the port 3306 is being used by MySQL server. So XAMPP fails to bind to the same port.To launch XAMPP successfully, kill the MySQL server process. Then try restarting XAMPP.

WampApache Service not running

I am using wamp for 2 years, but now it is giving an error
HTTP Error 404. The requested resource is not found.
on running localhost and phpmyadmin.
I tried the following:
Restarted all services.
Downloaded and installed again
Checked that no other program was using port 80.
skype is not running.
In services wampmysqld is running but wampapache is not running.
Tried to run service manually and it says
Windows could not start the wampapache on local computer.
Do you have any solution for this?
The wampserver shows the status of online and its color is orange.
Before the error occurred it was green.

Resources