I'd like to setup an Apache server for my LAN network, so that all
computers can have full access to the MySQL database.
I don't have any experience with manually setting up Apache, PHP,
and MySQL, as I always used XAMPP before. Should I just install
XAMPP on a shared folder of the LAN?
Thanks.
How can I setup a localhost Apache server?
Started by 404, Oct 11 2011 08:40 PM
php apache mysql localhost xampp
5 replies to this topic
#1
Posted 11 October 2011 - 08:40 PM
#2
Posted 12 October 2011 - 12:47 AM
Depends of what OS your gonna use! From the looks of it it's gonna be windows. You can very well install XAMPP on any pc in the house. Then you'll need to set your computers local ip to a static one, otherwise every time you restart your machine, or reconnect to the internet, the ip will change and it's a pain. Then you'll be able to type that machines ip address from anywhere in your network. You'll then have a lan apache server. You might also want ftp so you can edit files from different computers in your house, which filezilla server comes built into XAMPP.
Hope this helps.
Hope this helps.
#3
Posted 14 January 2012 - 04:58 PM
You should set up Ubuntu Server on it.
George HansonThe Royale MooseRoyal Moose Technologywww.youtube.com/RoyalMooseTechnology
#4
Posted 22 January 2012 - 03:10 AM
You can leave XAMPP where it is and just modify the hosts files on the PCs on your network.
On Windows its typically in C:WindowsSystem32driversetchosts
Just edit these hosts files on the PCs without the XAMPP install
Eg.
This is the easiest way without getting into bind and DNS.
You can do the same whether your server is Ubuntu, XAMPP, WAMP, etc...
Its all the same.
On Windows its typically in C:WindowsSystem32driversetchosts
Just edit these hosts files on the PCs without the XAMPP install
Eg.
192.168.1.10 localhost # localhost is the domain to access, the IP is from your XAMPP PC
This is the easiest way without getting into bind and DNS.
You can do the same whether your server is Ubuntu, XAMPP, WAMP, etc...
Its all the same.
#5
Posted 17 February 2012 - 11:16 AM
Quote
all computers can have full access to the MySQL database.
In [mysqld] insert/edit
bind-address = 0.0.0.0
After you restart the server you can access your datadase from excel, openoffice, netbeans, etc.
If you will use root account, this user will have full rights.
#6
Posted 11 March 2012 - 02:39 PM
well I could suggest you to use WAMP cause it has put online feature without need to update or install any difficult parts to do the same job, and here in your situation I suppose after you put it online then you'll allow all users at your LAN to connect your server (apache) they could access this server by using your ip then your server port at their browser to get access to server data or use also these information in any program you want to get access to particulate part of your data with ip:port of your server. also WAMP has no big diffrence when compared to XAMPP in general,so you can use it if you can't use complicated installation to do the job.












