Beginner question: 'sharing' xampp

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

Beginner question: 'sharing' xampp

Postby Mattias » 31. October 2012 10:17

Hi,

I want to run a local server for me and my colleagues. I'm proficient in php and mysql, so I'd write a simple interface and a database to keep track of some data. Right now, information is tracked in a couple of excel files and an access database, all on a network drive, and all of it has become too cumbersome to retrieve information.

Problem being, I don't want to put a database on internet as I don't want to rely on external hosts etc. We do have a network drive, so my first thought was to install xampplite portable onto that drive, including the php interface files and mysql database. And then let everyone use their browser to interact with the database through the php interface.

Is that even feasible? Is a network drive capable of executing xampp? Would everyone with access to that drive be able to use the interface? Or am I seeing it all wrong. Obviously, my concern is that the database should be accessible at all times, so I can't install it on my workstation.

If the network drive doesn't work, would it be possible to install it all on a dropbox folder and share this folder with colleagues?

Sorry for the wall of text, your insights are greatly appreciated!
Mattias
 
Posts: 2
Joined: 31. October 2012 09:53
XAMPP Version: 5.6.3
Operating System: Win XP

Re: Beginner question: 'sharing' xampp

Postby JJ_Tagy » 31. October 2012 11:05

You'd need an OS to operate the httpd and mysqld executables - lite or full.
JJ_Tagy
 
Posts: 515
Joined: 30. January 2012 13:44
XAMPP Version: 1.8.3
Operating System: Windows 7 x64

Re: Beginner question: 'sharing' xampp

Postby Mattias » 05. November 2012 12:02

Right... And what if I install xampp on all the user machines and the database file is put on the network? Will they all be able to work simultaneously on the same database?
Mattias
 
Posts: 2
Joined: 31. October 2012 09:53
XAMPP Version: 5.6.3
Operating System: Win XP

Re: Beginner question: 'sharing' xampp

Postby JJ_Tagy » 05. November 2012 12:20

I doubt it - the mysql executable would need to put a lock on the data files when writing. What happens when two requests go in at the same time? There needs to be one program controlling the database.
JJ_Tagy
 
Posts: 515
Joined: 30. January 2012 13:44
XAMPP Version: 1.8.3
Operating System: Windows 7 x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 44 guests