Ok, I installed the XAMPP-openEMR package but ran it to this "problem detected." Please help

scifi000 wrote on Friday, June 05, 2015:

Initializing Control Panel
8:59:33 PM [main] Windows Version: Windows 7 Home Premium SP1 64-bit
8:59:33 PM [main] XAMPP Version: 1.8.2
8:59:33 PM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
8:59:33 PM [main] Running with Administrator rights - good!
8:59:33 PM [main] XAMPP Installation Directory: “c:\openemr\xampp”
8:59:33 PM [main] Checking for prerequisites
8:59:33 PM [main] All prerequisites found
8:59:33 PM [main] Initializing Modules
8:59:33 PM [mysql] Problem detected!
8:59:33 PM [mysql] Port 3306 in use by ““C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe” --defaults-file=“C:\ProgramData\MySQL\MySQL Server 5.6\my.ini” MySQL56”!
8:59:33 PM [mysql] MySQL WILL NOT start without the configured ports free!
8:59:33 PM [mysql] You need to uninstall/disable/reconfigure the blocking application
8:59:33 PM [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
8:59:33 PM [main] Starting Check-Timer
8:59:33 PM [main] Control Panel Ready

mdsupport wrote on Friday, June 05, 2015:

Looks like you did not clean up your previous installation as a result old MySQL is left running from C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe which is using standard port 3306. Guess you will need to uninstall old MySQL manually and reboot before trying again.

scifi000 wrote on Friday, June 05, 2015:

Ok, I deleted the MySQL server 5.6. But, both Apache and MYSQL will connect in the beginning and then disconnect?

9:51:11 PM [main] Initializing Control Panel
9:51:11 PM [main] Windows Version: Windows 7 Home Premium SP1 64-bit
9:51:11 PM [main] XAMPP Version: 1.8.2
9:51:11 PM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
9:51:11 PM [main] Running with Administrator rights - good!
9:51:11 PM [main] XAMPP Installation Directory: “c:\openemr\xampp”
9:51:11 PM [main] Checking for prerequisites
9:52:11 PM [main] All prerequisites found
9:52:11 PM [main] Initializing Modules
9:52:11 PM [main] Starting Check-Timer
9:52:11 PM [main] Control Panel Ready
9:52:30 PM [Apache] Uninstalling service…
9:52:36 PM [Apache] Successful!
9:52:38 PM [mysql] Uninstalling service…
9:52:39 PM [mysql] Successful!
9:52:46 PM [Apache] Installing service…
9:52:50 PM [mysql] Installing service…
9:52:53 PM [mysql] Successful!
9:52:54 PM [Apache] Status change detected: running
9:52:55 PM [Apache] Status change detected: stopped
9:52:55 PM [Apache] Error: Apache shutdown unexpectedly.
9:52:55 PM [Apache] This may be due to a blocked port, missing dependencies,
9:52:55 PM [Apache] improper privileges, a crash, or a shutdown by another method.
9:52:55 PM [Apache] Press the Logs button to view error logs and check
9:52:55 PM [Apache] the Windows Event Viewer for more clues
9:52:55 PM [Apache] If you need more help, copy and post this
9:52:55 PM [Apache] entire log window on the forums
9:52:55 PM [Apache] Successful!
9:53:00 PM [Apache] Attempting to start Apache service…
9:53:02 PM [mysql] Attempting to start MySQL service…
9:53:02 PM [mysql] Status change detected: running
9:53:07 PM [mysql] Status change detected: stopped
9:53:07 PM [mysql] Error: MySQL shutdown unexpectedly.
9:53:07 PM [mysql] This may be due to a blocked port, missing dependencies,
9:53:07 PM [mysql] improper privileges, a crash, or a shutdown by another method.
9:53:07 PM [mysql] Press the Logs button to view error logs and check
9:53:07 PM [mysql] the Windows Event Viewer for more clues
9:53:07 PM [mysql] If you need more help, copy and post this
9:53:07 PM [mysql] entire log window on the forums

fsgl wrote on Friday, June 05, 2015:

After downloading the zipped file for the XAMPP-OpenEMR package, you need to extract to C-drive, not to C:\openemr. See 1.

  1. Stop Apache/MySQL & exit xampp control.
  2. Delete the entire openemr\xampp folder.
  3. Reinstall package. See 2.
  4. Follow remaining steps outlined in the other thread.

scifi000 wrote on Sunday, June 07, 2015:

I did all the above advice and still no mysql or apache service. Before, when I installed the Xampp by itself, mysql and apache worked, only openemr would not install.

8:04:21 PM [main] Initializing Control Panel
8:04:21 PM [main] Windows Version: Windows 7 Home Premium SP1 64-bit
8:04:21 PM [main] XAMPP Version: 1.8.0
8:04:21 PM [main] Control Panel Version: 3.0.12 [ Compiled: June 24th 2012 ]
8:04:21 PM [main] Running with Administrator rights - good!
8:04:21 PM [main] XAMPP Installation Directory: “c:\xampp\xampp”
8:04:21 PM [main] Initializing Modules
8:04:21 PM [main] Starting Check-Timer
8:04:21 PM [main] Control Panel Ready
8:04:26 PM [mysql] Starting mysql service…
8:04:27 PM [apache] Starting apache service…

fsgl wrote on Sunday, June 07, 2015:

It will not work if zipped file is extracted to C:\xampp. The second xampp is the Package, which is in the first xampp folder. Wrong path.

It will only work if extracted to C-drive & not to any other folder. See instruction in red letters.

XAMPP Control Panel looks like this if Apache & MySQL have been started successfully. Note that XAMPP Installation Directory is c:\xampp, not c:\xampp\xampp.
.

scifi000 wrote on Sunday, June 07, 2015:

Thanks fsgl, I followed the directions and it is working now.

fsgl wrote on Sunday, June 07, 2015:

.الله رحيم