XAMPP Installation

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

XAMPP Installation

Postby icanbe444 » 04. August 2015 22:26

I have been struggling with my XAMPP installation. After installaion my sql and appache are not marked "X" like its supposed. Below is the error i get.


10:24:35 PM [main] Initializing Control Panel
10:24:35 PM [main] Windows Version: Windows 8 32-bit
10:24:35 PM [main] XAMPP Version: 5.5.27
10:24:35 PM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
10:24:35 PM [main] You are not running with administrator rights! This will work for
10:24:35 PM [main] most application stuff but whenever you do something with services
10:24:35 PM [main] there will be a security dialogue or things will break! So think
10:24:35 PM [main] about running this application with administrator rights!
10:24:35 PM [main] XAMPP Installation Directory: "c:\xampp\"
10:24:35 PM [main] Checking for prerequisites
10:24:35 PM [main] All prerequisites found
10:24:35 PM [main] Initializing Modules
10:24:35 PM [Apache] Problem detected!
10:24:35 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
10:24:35 PM [Apache] Apache WILL NOT start without the configured ports free!
10:24:35 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
10:24:35 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
10:24:35 PM [Apache] Problem detected!
10:24:35 PM [Apache] Port 443 in use by "C:\Program Files\Skype\Phone\Skype.exe" with PID 5720!
10:24:35 PM [Apache] Apache WILL NOT start without the configured ports free!
10:24:35 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
10:24:35 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
10:24:35 PM [mysql] MySQL Service detected with wrong path
10:24:35 PM [mysql] Change XAMPP MySQL and Control Panel settings or
10:24:35 PM [mysql] Uninstall/disable the other service manually first
10:24:35 PM [mysql] Found Path: "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\my.ini" MySQL
10:24:35 PM [mysql] Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
10:24:35 PM [mysql] Problem detected!
10:24:35 PM [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\my.ini" MySQL"!
10:24:35 PM [mysql] MySQL WILL NOT start without the configured ports free!
10:24:35 PM [mysql] You need to uninstall/disable/reconfigure the blocking application
10:24:35 PM [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
10:24:35 PM [main] Starting Check-Timer
10:24:35 PM [main] Control Panel Ready
icanbe444
 
Posts: 6
Joined: 04. August 2015 22:15
Operating System: Windows 10

Re: XAMPP Installation

Postby Altrea » 04. August 2015 22:39

icanbe444 wrote:After installaion my sql and appache are not marked "X" like its supposed.

That red X is related to the ability to manipulate windows services and this is related to this:

icanbe444 wrote:10:24:35 PM [main] You are not running with administrator rights! This will work for
10:24:35 PM [main] most application stuff but whenever you do something with services
10:24:35 PM [main] there will be a security dialogue or things will break! So think
10:24:35 PM [main] about running this application with administrator rights!


icanbe444 wrote:10:24:35 PM [Apache] Problem detected!
10:24:35 PM [Apache] Port 443 in use by "C:\Program Files\Skype\Phone\Skype.exe" with PID 5720!
10:24:35 PM [Apache] Apache WILL NOT start without the configured ports free!
10:24:35 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
10:24:35 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port

Skype is capturing your port 443. With that problem you will not be able to start Apache.
Try this: [FGA] solving Port 80 & 443 in use by Skype issue

icanbe444 wrote:10:24:35 PM [Apache] Problem detected!
10:24:35 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
10:24:35 PM [Apache] Apache WILL NOT start without the configured ports free!
10:24:35 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
10:24:35 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port

Port 80 is occupied by a different process. Maybe this is Skype too, maybe something different. If the problem is not gone after reconfigurating Skype you should take a look here: [FGA] solving Port 80 in use by PID 4 (http.sys) issue

icanbe444 wrote:10:24:35 PM [mysql] MySQL Service detected with wrong path
10:24:35 PM [mysql] Change XAMPP MySQL and Control Panel settings or
10:24:35 PM [mysql] Uninstall/disable the other service manually first
10:24:35 PM [mysql] Found Path: "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\my.ini" MySQL
10:24:35 PM [mysql] Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
10:24:35 PM [mysql] Problem detected!
10:24:35 PM [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.5\my.ini" MySQL"!
10:24:35 PM [mysql] MySQL WILL NOT start without the configured ports free!
10:24:35 PM [mysql] You need to uninstall/disable/reconfigure the blocking application
10:24:35 PM [mysql] or reconfigure MySQL and the Control Panel to listen on a different port

You have already installed MySQL as single installation. You will not be able to use the MySQL app already shipped with XAMPP.
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP Installation

Postby icanbe444 » 04. August 2015 23:12

Please i do not understand what you mean by "You have already installed MySQL as single installation. You will not be able to use the MySQL app already shipped with XAMPP". Forgive me if this question is funny. This is my first day here and my IT skills isnt that great.
icanbe444
 
Posts: 6
Joined: 04. August 2015 22:15
Operating System: Windows 10

Re: XAMPP Installation

Postby Altrea » 04. August 2015 23:24

XAMPP is a bundle of very well known webserver components. Apache, PHP, MySQL, etc are included in XAMPP.
But your system does already have a MySQL installation which does not come from XAMPP (installed to C:\Program Files\MySQL\MySQL Server 5.5\)
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP Installation

Postby icanbe444 » 04. August 2015 23:40

Ok i get it now. I truly have an app that requires Mysql to run. So what do i need to do so the mysql in xamp can run. I cannot uninstall the one i have already because the app is still functional. How do i go about it. Thanks
icanbe444
 
Posts: 6
Joined: 04. August 2015 22:15
Operating System: Windows 10

Re: XAMPP Installation

Postby Altrea » 05. August 2015 00:06

if you cannot uninstall the other MySQL program, then you will only have two possibilities:

1. simply don't start and use the XAMPP MySQL
You can use your existing MySQL with the other XAMPP components. But keep in mind that XAMPP is preconfigured, so for example the phpmyadmin to administrate MySQL is configured to use specific login credentials. So if you want to still use phpMyAdmin, you will need to reconfigure it or maybe need to reinstall it so that you can have the full functionality.
And you cannot use the MySQL Buttons provided by the XAMPP control panel to start and stop MySQL.

2. reconfigure your XAMPP MySQL to listen to a different port and service name
That way you can start and use both MySQL simultaniously.

If i were in your situation i would prefer option 1, but that maybe requires an amount of knowledge about the related components.
And i cannot estimate if you will need the XAMPP MySQL or not.
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP Installation

Postby icanbe444 » 05. August 2015 00:11

Great!
Like i said earlier, my skills are not that great so i will settle for the 2 option. So please direct me on how to reconfigure mysql to listen to a dfference port and service name
icanbe444
 
Posts: 6
Joined: 04. August 2015 22:15
Operating System: Windows 10

Re: XAMPP Installation

Postby Altrea » 05. August 2015 00:58

You will need to do three things:

1. In your file \xampp\mysql\bin\my.ini change the setting port from 3306 to something different (there are two occurancies which need to be changed there)
2. in your file \xampp\phpMyAdmin\config.inc.php add the following line
Code: Select all
$cfg['Servers'][$i]['port'] = '';
inside the quotes add the specified port you have choosen in 1.
This line is best place beneath the setting $cfg['Servers'][$i]['host']
3. in your xampp control panel settings dialigue you need to replace the settings for the default service name and also change the 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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP Installation

Postby icanbe444 » 05. August 2015 13:29

I have all that and i have my Apache, Mysqp, Filezilla in green
1:24:25 PM [main] Initializing Control Panel
1:24:25 PM [main] Windows Version: Windows 8 32-bit
1:24:25 PM [main] XAMPP Version: 5.5.27
1:24:25 PM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
1:24:25 PM [main] Running with Administrator rights - good!
1:24:25 PM [main] XAMPP Installation Directory: "c:\xampp\"
1:24:25 PM [main] Checking for prerequisites
1:24:25 PM [main] All prerequisites found
1:24:25 PM [main] Initializing Modules
1:24:25 PM [Apache] XAMPP Apache Service is already running on port 10080
1:24:25 PM [Apache] XAMPP Apache Service is already running on port 10443
1:24:25 PM [mysql] XAMPP MySQL Service is already running on port 3307
1:24:25 PM [filezilla] XAMPP FileZilla Service is already running on port 21
1:24:25 PM [filezilla] XAMPP FileZilla Service is already running on port 14147
1:24:25 PM [main] Starting Check-Timer
1:24:25 PM [main] Control Panel Ready


but when i type localhost in my browser i dont get any response. I dont see the Xamp homepage
icanbe444
 
Posts: 6
Joined: 04. August 2015 22:15
Operating System: Windows 10

Re: XAMPP Installation

Postby Altrea » 05. August 2015 15:10

unregister the windows services of the XAMPP components by clicking the green tick icon and try to start the components without the services.
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP Installation

Postby icanbe444 » 07. August 2015 23:44

i still cannot access my local host neither is mysql admin page loading and my configuration seems ok.

11:37:27 PM [main] Initializing Control Panel
11:37:27 PM [main] Windows Version: Windows 8 32-bit
11:37:27 PM [main] XAMPP Version: 5.5.27
11:37:27 PM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
11:37:27 PM [main] Running with Administrator rights - good!
11:37:27 PM [main] XAMPP Installation Directory: "c:\xampp\"
11:37:27 PM [main] Checking for prerequisites
11:37:28 PM [main] All prerequisites found
11:37:28 PM [main] Initializing Modules
11:37:28 PM [Apache] Problem detected!
11:37:28 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
11:37:28 PM [Apache] Apache WILL NOT start without the configured ports free!
11:37:28 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
11:37:28 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
11:37:28 PM [main] Starting Check-Timer
11:37:28 PM [main] Control Panel Ready
11:37:33 PM [Apache] Problem detected!
11:37:33 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
11:37:33 PM [Apache] Apache WILL NOT start without the configured ports free!
11:37:33 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
11:37:33 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
11:37:33 PM [Apache] Attempting to start Apache app...
11:37:33 PM [Apache] Status change detected: running
11:37:40 PM [mysql] Attempting to start MySQL app...
11:37:46 PM [mysql] Status change detected: running
11:40:45 PM [Apache] Attempting to stop Apache (PID: 8184)
11:40:45 PM [Apache] Attempting to stop Apache (PID: 7676)
11:40:45 PM [Apache] Status change detected: stopped
11:40:46 PM [mysql] Attempting to stop MySQL (PID: 7704)
11:40:46 PM [mysql] Status change detected: stopped
11:40:50 PM [Apache] Installing service...
11:40:51 PM [Apache] Successful!
11:40:53 PM [mysql] Installing service...
11:40:53 PM [mysql] Successful!
11:40:55 PM [Apache] Problem detected!
11:40:55 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
11:40:55 PM [Apache] Apache WILL NOT start without the configured ports free!
11:40:55 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
11:40:55 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
11:40:55 PM [Apache] Attempting to start Apache service...
11:40:57 PM [Apache] Status change detected: running
11:40:59 PM [mysql] Attempting to start MySQL service...
11:40:59 PM [mysql] Status change detected: running


I even had to uninstall my skype after i tried to change the port severally. Could this be related to the fact i run windows 10?
icanbe444
 
Posts: 6
Joined: 04. August 2015 22:15
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 137 guests