Error

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

Error

Postby do1075 » 26. May 2015 19:33

XAMPP is the best!!!

Over XAMPP, by mistake I installed IIS. I uninstalled it now, but:
~:~~:~~ ~M [Apache] Problem detected!
~:~~:~~ ~M [Apache] Port 80 in use by "Unable to open process" with PID 4!
~:~~:~~ ~M [Apache] Apache WILL NOT start without the configured ports free!
~:~~:~~ ~M [Apache] You need to uninstall/disable/reconfigure the blocking application
~:~~:~~ ~M [Apache] or reconfigure Apache and the Control Panel to listen on a different port
~:~~:~~ ~M [mysql] MySQL Service detected with wrong path
~:~~:~~ ~M [mysql] Change XAMPP MySQL and Control Panel settings or
~:~~:~~ ~M [mysql] Uninstall/disable the other service manually first
~:~~:~~ ~M [mysql] Found Path: "C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.1\my.ini" MySQL
~:~~:~~ ~M [mysql] Expected Path: c:\users\~\xampp\mysql\bin\mysqld.exe --defaults-file=c:\users\~\xampp\mysql\bin\my.ini mysql
~:~~:~~ ~M [mysql] Problem detected!
~:~~:~~ ~M [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.1\my.ini" MySQL"!
~:~~:~~ ~M [mysql] MySQL WILL NOT start without the configured ports free!
~:~~:~~ ~M [mysql] You need to uninstall/disable/reconfigure the blocking application
~:~~:~~ ~M [mysql] or reconfigure MySQL and the Control Panel to listen on a different port

Any help is greatly appreciated!! :D
do1075
 
Posts: 3
Joined: 26. May 2015 19:23
Operating System: Windows 7

Re: Error

Postby mark.mcdonald » 26. May 2015 20:47

do1075 wrote:XAMPP is the best!!!

So true!
do1075 wrote:Port 80 in use by "Unable to open process" with PID 4![/color]
Apache WILL NOT start without the configured ports free![/color]

See this article -> viewtopic.php?f=22&t=69784&p=239058#p239059
do1075 wrote:Found Path: "C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.1\my.ini" MySQL[/color]
Expected Path: c:\users\~\xampp\mysql\bin\mysqld.exe --defaults-file=c:\users\~\xampp\mysql\bin\my.ini mysql[/color]

You have another version of mysql running in C:\program files.... Either point xampp to look there for mysql OR stop it from running. Also make sure it is not installed as a service. If it is you will have to stop that too. Right click the service and set Startup Type to Manual.
mark.mcdonald
 
Posts: 160
Joined: 13. March 2015 15:48
Location: Edmonton
Operating System: Windows Server 2012 R2

Re: Error

Postby do1075 » 27. May 2015 15:48

Thanks, now it doesn't show errors, but when I go to localhost, it doesn't open for me, it gives me a 404!!!
do1075
 
Posts: 3
Joined: 26. May 2015 19:23
Operating System: Windows 7

Re: Error

Postby Nobbie » 27. May 2015 16:04

Look into the error log, it tells you more (probably a missing path).
Nobbie
 
Posts: 8779
Joined: 09. March 2008 13:04

Re: Error

Postby mark.mcdonald » 27. May 2015 18:09

Is your apache and mysql green in the xampp control panel?
mark.mcdonald
 
Posts: 160
Joined: 13. March 2015 15:48
Location: Edmonton
Operating System: Windows Server 2012 R2

Re: Error

Postby do1075 » 02. June 2015 16:46

Yes, it's green.
No, it doesn't say more about the errors.
do1075
 
Posts: 3
Joined: 26. May 2015 19:23
Operating System: Windows 7

Re: Error

Postby mark.mcdonald » 02. June 2015 17:39

If Apache and MySQL are green then you should be seeing your site.
Are you going to the right destination? Are you going to http://localhost/xampp?

Otherwise your Apache and MySQL should not be green and should have error logs as to why they are not displaying anything.
Please post recent error logs during the same time you started both Apache and MySQL. Otherwise this is really hard to help with.
mark.mcdonald
 
Posts: 160
Joined: 13. March 2015 15:48
Location: Edmonton
Operating System: Windows Server 2012 R2


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 45 guests