- Code: Select all
4:27:20 PM [main] Windows Version: Windows 7 Home Premium SP1 64-bit
4:27:20 PM [main] XAMPP Version: 5.6.23
4:27:20 PM [main] XAMPP Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
4:27:20 PM [main] XAMPP Installation Directory: "f:\standalone\xampp\"
4:27:20 PM [main] Checking for prerequisites
4:27:20 PM [main] All prerequisites found
4:27:20 PM [main] Initializing Modules
4:27:20 PM [main] Starting Check-Timer
4:27:20 PM [main] Control Panel Ready
The XAMPP Installation file was downloaded from apachefriends.org, earlier today:
- Code: Select all
https://www.apachefriends.org/xampp-files/5.6.23/xampp-win32-5.6.23-0-VC11-installer.exe
Near the end of the installation, I see an error dialog box:
- Code: Select all
[Window Title]: -n
[Content]: Windows cannot find '-n'. Make sure you typed the name correctly, and then try again.
When I click OK to close this dialog box, I see another error dialog box:
- Code: Select all
[Window Title]: Warning
[Content]: Problem running post-install step. Installation may not complete correctly
Installation failed (php.exe). Perhaps you have to install the Microsoft
Visual C++ 2008 Redistributable package. After that please execute the
setup_xampp.bat in the xampp folder manually.
I am then (later) recommended to install:
http://www.microsoft.com/en-us/download/details.aspx?id=5582
https://download.microsoft.com/download/d/d/9/dd9a82d0-52ef-40db-8dab-795376989c03/vcredist_x86.exe
File properties/Details for the downloaded file (vcredist_x86.exe) is:
- Code: Select all
Description: Microsoft Visual C++ 2008 Redistributable
File version: 9.0.30729.17
Product name: Microsoft Visual C++ 2008 Redistributable
Product version: 9.0.30729.17
Size: 4.02 MB
I find that I already have this Microsoft Visual C++ 2008 Redistributable package installed.
From Windows Control Panel, Programs and Features, I find these are installed:
- Code: Select all
Microsoft Visual C++ 2008 Redistributable x64 9.0.30729.5570 KB2467174
Microsoft Visual C++ 2008 Redistributable x86 9.0.30729.5570 KB2467174
Microsoft Visual C++ 2008 Redistributable x64 9.0.30729.17
Microsoft Visual C++ 2008 Redistributable x64 9.0.30729.4148
Microsoft Visual C++ 2008 Redistributable x64 9.0.30729.6161
Microsoft Visual C++ 2008 Redistributable x86 9.0.21022
Microsoft Visual C++ 2008 Redistributable x86 9.0.30729
Microsoft Visual C++ 2008 Redistributable x86 9.0.30729.4148
Microsoft Visual C++ 2008 Redistributable x86 9.0.30729.6161
I could reinstall the Microsoft Visual C++ 2008 Redistributable version x64 9.0.30729.17, but there are newer versions of it installed already.
When I try to start Apache from the XAMPP Control Panel, I get an error message in the XAMPP Control Panel progress box:
- Code: Select all
5:26:32 PM [Apache] Attempting to start Apache app...
5:26:33 PM [Apache] Status change detected: running
5:26:34 PM [Apache] Status change detected: stopped
5:26:34 PM [Apache] Error: Apache shutdown unexpectedly.
5:26:34 PM [Apache] This may be due to a blocked port, missing dependencies,
5:26:34 PM [Apache] improper privileges, a crash, or a shutdown by another method.
5:26:34 PM [Apache] Press the Logs button to view error logs and check
5:26:34 PM [Apache] the Windows Event Viewer for more clues
5:26:34 PM [Apache] If you need more help, copy and post this
5:26:34 PM [Apache] entire log window on the forums
When I click the Logs button to view the Apache error log (error.log), I get this dialog message:
- Code: Select all
[Window Title]: Notepad
[Content]: Cannot find the f:\standalone\xampp\apache\logs\error.log file.
Do you want to create a new file?
Answered ==> No.
When I click the Logs button to view the PHP error log (php_error_log), I get this dialog message:
- Code: Select all
[Window Title]: Notepad
[Content]: The system cannot find the path specified.
When I run setup_xampp.bat (non Administrator), it completes without any errors:
- Code: Select all
########################################################################
# ApacheFriends XAMPP setup win32 Version #
#----------------------------------------------------------------------#
# Copyright (c) 2002-2016 Apachefriends 5.6.23 #
#----------------------------------------------------------------------#
# Authors: Kay Vogelgesang <kvo@apachefriends.org> #
# Carsten Wiedmann <webmaster@wiedmann-online.de> #
########################################################################
Sorry, but ... nothing to do!
Press any key to continue . . .
After pressing a key, the command prompt window closes.
When I run setup_xampp.bat as Administrator (from Windows Explorer, Right-click=>"Run as Administrator), I see this error:
- Code: Select all
################################# START XAMPP TEST SECTION #################################
[XAMPP]: Test php.exe with php\php.exe -n -d output_buffering=0 --version ...
The system cannot find the path specified.
[ERROR]: Test php.exe failed !!!
[ERROR]: Perhaps the Microsoft C++ 2008 runtime package is not installed.
[ERROR]: Please try to install the MS VC++ 2008 Redistributable Package from the Mircrosoft page first
[ERROR]: http://www.microsoft.com/en-us/download/details.aspx?id=5582
################################# END XAMPP TEST SECTION ###################################
Press any key to continue . . .
After pressing a key, the command prompt window closes.
Next I opened a (non Administrator) command prompt and ran a command:
- Code: Select all
F:\Standalone\xampp>php\php.exe -n -d output_buffering=0 --version
PHP 5.6.23 (cli) (built: Jun 22 2016 12:15:20)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
F:\Standalone\xampp>
I get the same output if I open an Administrator command prompt and run the command.
Any help in proceeding from here would be appreciated.