Skip to content

Instantly share code, notes, and snippets.

@DavidBruchmann
Created January 9, 2019 12:53
Show Gist options
  • Save DavidBruchmann/ee65322148c96694f8ca20fd639a455a to your computer and use it in GitHub Desktop.
Save DavidBruchmann/ee65322148c96694f8ca20fd639a455a to your computer and use it in GitHub Desktop.
@echo off
cd /D %~dp0
echo Diese Eingabeforderung nicht waehrend des Running beenden
echo Bitte erst bei einem gewollten Shutdown schliessen
echo Please close this command only for Shutdown
echo Apache 2 is starting ...
SET OPENSSL_CONF=F:\___XAMPP___\xampp-portable-win32-5.6.31-0-VC11\apache\conf\openssl.cnf
REM IF EXIST F:\___XAMPP___\xampp-portable-win32-5.6.31-0-VC11\apache\bin
SET PATH=%PATH%;F:\___XAMPP___\xampp-portable-win32-5.6.31-0-VC11\apache\bin
echo %PATH%
echo %OPENSSL_CONF%
apache\bin\httpd.exe
if errorlevel 255 goto finish
if errorlevel 1 goto error
goto finish
:error
echo.
echo Apache konnte nicht gestartet werden
echo Apache could not be started
pause
:finish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment