Page 1 of 1

Error

PostPosted: 26. May 2015 19:33
by do1075
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

Re: Error

PostPosted: 26. May 2015 20:47
by mark.mcdonald
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.

Re: Error

PostPosted: 27. May 2015 15:48
by do1075
Thanks, now it doesn't show errors, but when I go to localhost, it doesn't open for me, it gives me a 404!!!

Re: Error

PostPosted: 27. May 2015 16:04
by Nobbie
Look into the error log, it tells you more (probably a missing path).

Re: Error

PostPosted: 27. May 2015 18:09
by mark.mcdonald
Is your apache and mysql green in the xampp control panel?

Re: Error

PostPosted: 02. June 2015 16:46
by do1075
Yes, it's green.
No, it doesn't say more about the errors.

Re: Error

PostPosted: 02. June 2015 17:39
by mark.mcdonald
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.