XAMPP autostart services on USB Key

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

XAMPP autostart services on USB Key

Postby jeanmediaa » 16. May 2014 11:31

Hi there,
I'm new on this forum. My name is Jean and I'm looking for a solution to autolaunch PHP server and MySQL server without having to click on the XAMPP config panel, on a USB flash drive (usb key).
In fact, we have to develop an USB key for a client with a PHP website on it. This key will be distributed to hundred of end-users. It HAVE to be PHP because of interactions with a remote server, and work offline etc.
We dont want to ask the end-users to activate XAMPP... In the IDEAL situation, the end-user just enter the key, click on a .EXE and all the services starts and it redirect to a browser with our (local USB key) website in it.
The key point: it have to be compatible with Win8 and less !
We fount "server2Go" wich include an autostart/stop of the server... but we read on Google lots of people have problem on Win8
We aslo see a "tap.exe" (Win XP embedded) solution but we dont understand the solution... :-)
Anybody already expericed this? Any solution?
Thks for your help!
J
jeanmediaa
 
Posts: 2
Joined: 16. May 2014 11:15
XAMPP Version: 5.5.19
Operating System: Mac OS

Re: XAMPP autostart services on USB Key

Postby Nobbie » 16. May 2014 13:46

jeanmediaa wrote:Any solution?


There is no solution. You cannot solve the problem if (for example) Port 80 is already blocked by a local software (i.e. already a running webserver, or a Skype installation etc.). You cannot solve all problems that base on collisions with the already running software.

Instead you have to either hand out a kind of "Live OS" (like linux live CDs) and boot from the USB stick, or start a virtual machine from the USB Stick, which also contains your software. There is already a projects which implements such complex environments, but unfortunately i currently dont remember the name.
Nobbie
 
Posts: 6918
Joined: 09. March 2008 13:04

Re: XAMPP autostart services on USB Key

Postby jeanmediaa » 16. May 2014 14:39

Thks for your answer. Boot from the USB stick is not possible. We cannot ask this to end user clients.
I think this "Windows Embeded" is the solution, but we dont understand it :-)
We will move to a Flash compiled new version of the website with ZINC or AIR... no choice. With this we will be able to have same functionnalities as PHP (pdf generation, ftp, ...)
Thks a lot... XAMPP was too fantastic to be true in this environement :-)
jeanmediaa
 
Posts: 2
Joined: 16. May 2014 11:15
XAMPP Version: 5.5.19
Operating System: Mac OS


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 36 guests