XAMPP Control Panel v3.2.1 ; Apache will not start

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP Control Panel v3.2.1 ; Apache will not start

Postby atam236 » 21. February 2014 05:33

Hi, how do we configure XAMPP to use different port?

I have similar problem in Windows 8 and the process name for PID 4 is System.

Code: Select all
D'oh!

--
12:03:01 AM [main] Initializing Control Panel
12:03:01 AM [main] Windows Version: Windows 8 64-bit
12:03:01 AM [main] XAMPP Version: 1.8.3
12:03:01 AM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
12:03:01 AM [main] You are not running with administrator rights! This will work for
12:03:01 AM [main] most application stuff but whenever you do something with services
12:03:01 AM [main] there will be a security dialogue or things will break! So think
12:03:01 AM [main] about running this application with administrator rights!
12:03:01 AM [main] XAMPP Installation Directory: "c:\xampp\"
12:03:01 AM [main] Checking for prerequisites
12:03:02 AM [main] All prerequisites found
12:03:02 AM [main] Initializing Modules
12:03:02 AM [Apache] Problem detected!
12:03:02 AM [Apache] Port 80 in use by "Unable to open process" with PID 4!
12:03:02 AM [Apache] Apache WILL NOT start without the configured ports free!
12:03:02 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
12:03:02 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
12:03:02 AM [main] Starting Check-Timer
12:03:02 AM [main] Control Panel Ready


I tried using CMD
Code: Select all
net stop was
and then another problem occurred like below.

Code: Select all
12:05:22 PM  [main]    Initializing Control Panel
12:05:22 PM  [main]    Windows Version: Windows 8  64-bit
12:05:22 PM  [main]    XAMPP Version: 1.8.3
12:05:22 PM  [main]    Control Panel Version: 3.2.1  [ Compiled: May 7th 2013 ]
12:05:22 PM  [main]    Running with Administrator rights - good!
12:05:22 PM  [main]    XAMPP Installation Directory: "c:\xampp\"
12:05:22 PM  [main]    Checking for prerequisites
12:05:25 PM  [main]    All prerequisites found
12:05:25 PM  [main]    Initializing Modules
12:05:25 PM  [mysql]    XAMPP MySQL Service is already running on port 3306
12:05:25 PM  [filezilla]    XAMPP FileZilla Service is already running on port 21
12:05:25 PM  [filezilla]    XAMPP FileZilla Service is already running on port 14147
12:05:25 PM  [main]    Starting Check-Timer
12:05:25 PM  [main]    Control Panel Ready
12:05:34 PM  [Apache]    Attempting to start Apache service...
12:05:36 PM  [Apache]    Status change detected: running
12:05:37 PM  [Apache]    Status change detected: stopped
12:05:37 PM  [Apache]    Error: Apache shutdown unexpectedly.
12:05:37 PM  [Apache]    This may be due to a blocked port, missing dependencies,
12:05:37 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.
12:05:37 PM  [Apache]    Press the Logs button to view error logs and check
12:05:37 PM  [Apache]    the Windows Event Viewer for more clues
12:05:37 PM  [Apache]    If you need more help, copy and post this
12:05:37 PM  [Apache]    entire log window on the forums


I've been stuck for five days and not sure which solution to follow in the internet because I don't understand what the solutions actually do. I afraid it will make XAMPP become unstable.

Thx,
Atam
atam236
 
Posts: 4
Joined: 21. February 2014 05:13
Operating System: Windows 8

Re: XAMPP Control Panel v3.2.1 ; Apache will not start

Postby Altrea » 21. February 2014 05:42

Hi atam236,

Please do not use unsolved threads of someone else to report your own issue
=> [INFO] How to not fail getting help here (Section "Board and thread structure")

atam236 wrote:how do we configure XAMPP to use different port?

You want to use a HTTP Daemon so take care that you close the programs that are blocking the default ports.
That is the correct way, not changiing the default ports.

atam236 wrote:I tried using CMD
Code: Select all
net stop was
and then another problem occurred like below.

Code: Select all
12:05:22 PM  [main]    Initializing Control Panel
12:05:22 PM  [main]    Windows Version: Windows 8  64-bit
12:05:22 PM  [main]    XAMPP Version: 1.8.3
12:05:22 PM  [main]    Control Panel Version: 3.2.1  [ Compiled: May 7th 2013 ]
12:05:22 PM  [main]    Running with Administrator rights - good!
12:05:22 PM  [main]    XAMPP Installation Directory: "c:\xampp\"
12:05:22 PM  [main]    Checking for prerequisites
12:05:25 PM  [main]    All prerequisites found
12:05:25 PM  [main]    Initializing Modules
12:05:25 PM  [mysql]    XAMPP MySQL Service is already running on port 3306
12:05:25 PM  [filezilla]    XAMPP FileZilla Service is already running on port 21
12:05:25 PM  [filezilla]    XAMPP FileZilla Service is already running on port 14147
12:05:25 PM  [main]    Starting Check-Timer
12:05:25 PM  [main]    Control Panel Ready
12:05:34 PM  [Apache]    Attempting to start Apache service...
12:05:36 PM  [Apache]    Status change detected: running
12:05:37 PM  [Apache]    Status change detected: stopped
12:05:37 PM  [Apache]    Error: Apache shutdown unexpectedly.
12:05:37 PM  [Apache]    This may be due to a blocked port, missing dependencies,
12:05:37 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.
12:05:37 PM  [Apache]    Press the Logs button to view error logs and check
12:05:37 PM  [Apache]    the Windows Event Viewer for more clues
12:05:37 PM  [Apache]    If you need more help, copy and post this
12:05:37 PM  [Apache]    entire log window on the forums

Execute the \xampp\apache_start.bat script and let us not what it responses.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP Control Panel v3.2.1 ; Apache will not start

Postby atam236 » 23. February 2014 17:13

Sorry, and thanks for kindly remind...
atam236
 
Posts: 4
Joined: 21. February 2014 05:13
Operating System: Windows 8

Re: XAMPP Control Panel v3.2.1 ; Apache will not start

Postby atam236 » 24. February 2014 17:05

Wow thank you very much! XAMPP is running now and I can use localhost
atam236
 
Posts: 4
Joined: 21. February 2014 05:13
Operating System: Windows 8

Re: XAMPP Control Panel v3.2.1 ; Apache will not start

Postby atam236 » 22. April 2014 05:10

Hi,

This occurred today, any help? Thank you

Image
apache_start.bat responses
atam236
 
Posts: 4
Joined: 21. February 2014 05:13
Operating System: Windows 8

Re: XAMPP Control Panel v3.2.1 ; Apache will not start

Postby Altrea » 22. April 2014 09:59

There is already a process blocking port 80 so Apache can not bind this port
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 113 guests