Thursday, June 11, 2015

Share WAMP/XAMPP/localhost with other computer via cable (php+mysql server localhost for a team)

Setup web development environment for a team(PHP+MYSQL).

1. Connecting PC through cable (It can be done also via WiFi)
2. Assign IP for each PC.





3. Open httpd.conf file under Apache and configure.Add this code inside </Directory> tag
allow different IP which we've been setup.

        Require all granted
   #   onlineoffline tag - don't remove
Order Deny,Allow
   #   Deny from all
        Allow from 192.168.0.10
Allow from 192.168.0.11 
Allow from ::1
Allow from localhost
</Directory>

4. Go to control panel and select Firewall. Click  "allow a program..." left side menu and allow Apache  HTPP Server for Public.

Done. Now run only one WAMP/XAMP and  use/ browse localhost from other connected PC.
that PC install WAMP/XAMP use it's IP Like
http://192.168.0.10/

Done!!!!!!!!!!!!!!!!!

No comments:

Post a Comment

Total Pageviews