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