Installing under Program Files instead of at Root

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

Installing under Program Files instead of at Root

Postby Reklawyad » 16. August 2016 14:57

So I'm currently testing the LimeSurvey version that include XAMPP 5.3.2 and if I install the program into the default C:\XAMPP it seems to work fine, but our software deployment state that it cannot be installed on just the root, but needs to be install under program files, I tried to install it under those directories, but Apache and MySQL would not run. I tried changing permissions on the files themselves, but nothing that I added seemed to make a difference. Any help would be great.
Reklawyad
 
Posts: 4
Joined: 16. August 2016 14:29
XAMPP version: 3.2.1
Operating System: Windows 7

Re: Installing under Program Files instead of at Root

Postby Nobbie » 16. August 2016 16:04

Reklawyad wrote:and if I install the program into the default C:\XAMPP it seems to work fine, but our software deployment state that it cannot be installed on just the root, but needs to be install under program files, I tried to install it under those directories, but Apache and MySQL would not run.


Ask your software deployment for help. They want to run Xampp somewhere else than recommended, then they should do it! It might be helpful also to provide some error messages.
Nobbie
 
Posts: 8779
Joined: 09. March 2008 13:04

Re: Installing under Program Files instead of at Root

Postby Reklawyad » 16. August 2016 17:27

12:18:51 PM [Apache] Error: Apache shutdown unexpectedly.
12:18:51 PM [Apache] This may be due to a blocked port, missing dependencies,
12:18:51 PM [Apache] improper privileges, a crash, or a shutdown by another method.
12:18:51 PM [Apache] Press the Logs button to view error logs and check
12:18:51 PM [Apache] the Windows Event Viewer for more clues
12:18:51 PM [Apache] If you need more help, copy and post this
12:18:51 PM [Apache] entire log window on the forums


this is what I get for Apache when I try to start it with the Control Panel. I tried running the script, apache_start, get a Syntax error in the config saying that a specificed module, mod_access_compat.so cannot be found, I've checked and the file is there.
Reklawyad
 
Posts: 4
Joined: 16. August 2016 14:29
XAMPP version: 3.2.1
Operating System: Windows 7

Re: Installing under Program Files instead of at Root

Postby Altrea » 16. August 2016 18:29

There has no XAMPP version 5.3.2 ever been released: https://sourceforge.net/projects/xampp/ ... 20Windows/
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: 8297
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Installing under Program Files instead of at Root

Postby Reklawyad » 16. August 2016 19:18

Sorry I messed up the version number, the version that is installed with LimeSurvey is XAMPP 5.6.8.

I also downloaded the version from here, 5.6.23, and installed it in the program files directory, it also fails to start Apache and MySQL.. we have UAC turned on (required) and I'm testing it as a local admin to the computer, still can't get Apache or MYsql to run.

Lime Survey Log:
12:18:45 PM [main] Initializing Control Panel
12:18:45 PM [main] Windows Version: Windows 7 Enterprise SP1 64-bit
12:18:45 PM [main] XAMPP Version: 5.6.8
12:18:45 PM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
12:18:45 PM [main] You are not running with administrator rights! This will work for
12:18:45 PM [main] most application stuff but whenever you do something with services
12:18:45 PM [main] there will be a security dialogue or things will break! So think
12:18:45 PM [main] about running this application with administrator rights!
12:18:45 PM [main] XAMPP Installation Directory: "c:\program files (x86)\xampp\"
12:18:45 PM [main] WARNING: Your install directory contains spaces. This may break programs/scripts
12:18:45 PM [main] WARNING: Your install directory contains special characters. This may break programs/scripts
12:18:45 PM [main] Checking for prerequisites
12:18:48 PM [main] All prerequisites found
12:18:48 PM [main] Initializing Modules
12:18:48 PM [main] The FileZilla module is disabled
12:18:48 PM [main] The Mercury module is disabled
12:18:48 PM [Tomcat] Problem detected: Tomcat Not Found!
12:18:48 PM [Tomcat] Disabling Tomcat buttons
12:18:48 PM [Tomcat] Run this program from your XAMPP root directory!
12:18:48 PM [Tomcat] Problem detected: Required Tool catalina_start.bat Not Found!
12:18:48 PM [Tomcat] Problem detected: Required Tool catalina_stop.bat Not Found!
12:18:48 PM [Tomcat] Problem detected: Required Tool catalina_service.bat Not Found!
12:18:48 PM [main] Starting Check-Timer
12:18:48 PM [main] Control Panel Ready
12:18:50 PM [Apache] Attempting to start Apache app...
12:18:51 PM [Apache] Status change detected: running
12:18:51 PM [Apache] Status change detected: stopped
12:18:51 PM [Apache] Error: Apache shutdown unexpectedly.
12:18:51 PM [Apache] This may be due to a blocked port, missing dependencies,
12:18:51 PM [Apache] improper privileges, a crash, or a shutdown by another method.
12:18:51 PM [Apache] Press the Logs button to view error logs and check
12:18:51 PM [Apache] the Windows Event Viewer for more clues
12:18:51 PM [Apache] If you need more help, copy and post this
12:18:51 PM [Apache] entire log window on the forums
12:20:11 PM [mysql] Attempting to start MySQL app...
12:20:32 PM [main] Executing "c:\program files (x86)\xampp\apache\logs"
12:22:14 PM [Apache] Status change detected: running
12:22:14 PM [Apache] Status change detected: stopped
12:22:14 PM [Apache] Error: Apache shutdown unexpectedly.
12:22:14 PM [Apache] This may be due to a blocked port, missing dependencies,
12:22:14 PM [Apache] improper privileges, a crash, or a shutdown by another method.
12:22:14 PM [Apache] Press the Logs button to view error logs and check
12:22:14 PM [Apache] the Windows Event Viewer for more clues
12:22:14 PM [Apache] If you need more help, copy and post this
12:22:14 PM [Apache] entire log window on the forums
12:30:32 PM [main] Deinitializing Modules
12:30:32 PM [main] Deinitializing Control Panel

Normal XAMPP Version:

1:00:57 PM [main] Initializing Control Panel
1:00:57 PM [main] Windows Version: Windows 7 Enterprise SP1 64-bit
1:00:57 PM [main] XAMPP Version: 5.6.23
1:00:57 PM [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
1:00:57 PM [main] Running with Administrator rights - good!
1:00:57 PM [main] XAMPP Installation Directory: "c:\program files (x86)\xampp\"
1:00:57 PM [main] WARNING: Your install directory contains spaces. This may break programs/scripts
1:00:57 PM [main] WARNING: Your install directory contains special characters. This may break programs/scripts
1:00:57 PM [main] Checking for prerequisites
1:00:57 PM [main] All prerequisites found
1:00:57 PM [main] Initializing Modules
1:00:57 PM [main] The Tomcat module is disabled
1:00:57 PM [main] Starting Check-Timer
1:00:57 PM [main] Control Panel Ready
1:01:04 PM [Apache] Attempting to start Apache app...
1:01:05 PM [Apache] Status change detected: running
1:01:05 PM [Apache] Status change detected: stopped
1:01:05 PM [Apache] Error: Apache shutdown unexpectedly.
1:01:05 PM [Apache] This may be due to a blocked port, missing dependencies,
1:01:05 PM [Apache] improper privileges, a crash, or a shutdown by another method.
1:01:05 PM [Apache] Press the Logs button to view error logs and check
1:01:05 PM [Apache] the Windows Event Viewer for more clues
1:01:05 PM [Apache] If you need more help, copy and post this
1:01:05 PM [Apache] entire log window on the forums
1:01:07 PM [mysql] Attempting to start MySQL app...
1:01:07 PM [mysql] Status change detected: running
1:01:08 PM [mysql] Status change detected: stopped
1:01:08 PM [mysql] Error: MySQL shutdown unexpectedly.
1:01:08 PM [mysql] This may be due to a blocked port, missing dependencies,
1:01:08 PM [mysql] improper privileges, a crash, or a shutdown by another method.
1:01:08 PM [mysql] Press the Logs button to view error logs and check
1:01:08 PM [mysql] the Windows Event Viewer for more clues
1:01:08 PM [mysql] If you need more help, copy and post this
1:01:08 PM [mysql] entire log window on the forums
1:02:09 PM [main] Deinitializing Modules
1:02:09 PM [main] Deinitializing Control Panel

2:05:50 PM [main] Initializing Control Panel
2:05:50 PM [main] Windows Version: Windows 7 Enterprise SP1 64-bit
2:05:50 PM [main] XAMPP Version: 5.6.23
2:05:50 PM [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
2:05:50 PM [main] Running with Administrator rights - good!
2:05:50 PM [main] XAMPP Installation Directory: "c:\program files (x86)\xampp\"
2:05:50 PM [main] WARNING: Your install directory contains spaces. This may break programs/scripts
2:05:50 PM [main] WARNING: Your install directory contains special characters. This may break programs/scripts
2:05:50 PM [main] Checking for prerequisites
2:05:53 PM [main] All prerequisites found
2:05:53 PM [main] Initializing Modules
2:05:53 PM [main] The Tomcat module is disabled
2:05:53 PM [main] Starting Check-Timer
2:05:53 PM [main] Control Panel Ready
2:05:55 PM [Apache] Attempting to start Apache app...
2:05:56 PM [Apache] Status change detected: running
2:05:56 PM [Apache] Status change detected: stopped
2:05:56 PM [Apache] Error: Apache shutdown unexpectedly.
2:05:56 PM [Apache] This may be due to a blocked port, missing dependencies,
2:05:56 PM [Apache] improper privileges, a crash, or a shutdown by another method.
2:05:56 PM [Apache] Press the Logs button to view error logs and check
2:05:56 PM [Apache] the Windows Event Viewer for more clues
2:05:56 PM [Apache] If you need more help, copy and post this
2:05:56 PM [Apache] entire log window on the forums
2:05:58 PM [mysql] Attempting to start MySQL app...
2:05:58 PM [mysql] Status change detected: running
2:05:58 PM [mysql] Status change detected: stopped
2:05:58 PM [mysql] Error: MySQL shutdown unexpectedly.
2:05:58 PM [mysql] This may be due to a blocked port, missing dependencies,
2:05:58 PM [mysql] improper privileges, a crash, or a shutdown by another method.
2:05:58 PM [mysql] Press the Logs button to view error logs and check
2:05:58 PM [mysql] the Windows Event Viewer for more clues
2:05:58 PM [mysql] If you need more help, copy and post this
2:05:58 PM [mysql] entire log window on the forums
2:09:17 PM [main] Deinitializing Modules
2:09:17 PM [main] Deinitializing Control Panel
Reklawyad
 
Posts: 4
Joined: 16. August 2016 14:29
XAMPP version: 3.2.1
Operating System: Windows 7

Re: Installing under Program Files instead of at Root

Postby Reklawyad » 17. August 2016 14:33

I even ran the setup_xampp.bat file afterwards, logged in as local administrator as well as "run as administrator" Apache and MySQL fail.. I'm thinking I'm going to need to install the Apache and Mysql by itself and install LimeSurvey that way, the XMAPP isn't working in our locked down environment.
Reklawyad
 
Posts: 4
Joined: 16. August 2016 14:29
XAMPP version: 3.2.1
Operating System: Windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 54 guests