|
Server IP : 127.0.0.1 / Your IP : 127.0.0.1 Web Server : Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 System : Windows NT WIN-R7LTCC7BPLI 6.3 build 9200 (Windows Server 2012 R2 Datacenter Edition) i586 User : GerbangSIPAD ( 0) PHP Version : 5.6.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF Directory (0777) : C:/xampp8.2/src/xampp-start-stop/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
// Copyright (C) 2007-2010 Kai Seidler, oswald@apachefriends.org, GPL-licensed
#include <windows.h>
#include <stdio.h>
#include <process.h>
#include "xampp_util.h"
int main(int argc, char **argv)
{
char buffer[200];
char *start[10][10] = {
{"apache\\bin\\httpd.exe", "-f conf\\httpd.conf", NULL},
{"mysql\\bin\\mysqld.exe", "--defaults-file=mysql\\bin\\my.ini", "--standalone", NULL},
{NULL}
};
printf("\nXAMPP now starts as a console application.\n\n");
printf("Instead of pressing Control-C in this console window, please use xampp_stop.exe\n");
printf("to stop XAMPP, because it lets XAMPP end any current transactions and cleanup\n");
printf("gracefully.\n\n");
xampp_cdx();
xampp_call(start);
Sleep(10000);
return(0);
}