One doitall button...

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

One doitall button...

Postby StevenRushing » 13. April 2007 04:02

Is it possible to have one button that turns on apache, mysql, and opens a browser to a default page?

I am setting up a training website for my unit in the army. Each user has his own account, so I am running a portable version of xampp in a networked drive, and would like it to be as simple as possible for the users to access the training website...

thank you for any help! =)
StevenRushing
 
Posts: 2
Joined: 02. December 2004 01:25

Postby WorldDrknss » 13. April 2007 04:05

You could create a batch file to achieve this.
http://wdguides.org - XAMPP Tutorials & MORE!!!!
User avatar
WorldDrknss
 
Posts: 292
Joined: 17. September 2005 13:40

Postby Codesmith » 13. April 2007 20:40

place the following in a text file and change the extension to .bat.

net start apache2.2
net start mysql
"C:\Program Files\Internet Explorer\iexplore.exe" localhost

Earlier versions of apache have a service name of apache2 so run services.msc to see the exact service name.

You can also a domain name other than local host.

net stop apache2.2
net stop mysql

will turn off those services.
Codesmith
 
Posts: 101
Joined: 31. March 2007 21:11


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 31 guests