Many of programmers works on big php project in group. If the developer is a window user he use to install wamp on their system for complete php framework. Wamp server includes php as well as mysql. If you are working alone on a project then it is all good simply install wamp and go through you coding and configuration, But if you are working in team then you might get a requirement to share you wamp localhost. It is possible to share your wamp localhost on lan so that other programmers involved in the project can get access to the project. They can separately check their module on which they are working.
Most beneficial part of sharing wamp localhost on lan is you can view your project on different version of browers, different operating system platform, different screen sizes.
For sharing your wamp localhost over lan you need to change some lines in apache httpd.conf
Open up your httpd.conf file
Find <Directory "c:/wamp/www/">
At the bottom of the closing </Directory> you will find
# onlineoffline tag - don't remove
Order Deny,Allow
Allow from all
Chang this to
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 ::1 localhost
Allow from 192.168.72.1
Important* - Change 192.168.50.1 to your ip4 address of your computer. You can get your ip4 address by simply type ipconfig to the command prompt. The final step that you have to do is to restart your wamp server. Now you can check your project on another computer over lan.
Most beneficial part of sharing wamp localhost on lan is you can view your project on different version of browers, different operating system platform, different screen sizes.
For sharing your wamp localhost over lan you need to change some lines in apache httpd.conf
Open up your httpd.conf file
Find <Directory "c:/wamp/www/">
At the bottom of the closing </Directory> you will find
# onlineoffline tag - don't remove
Order Deny,Allow
Allow from all
Chang this to
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 ::1 localhost
Allow from 192.168.72.1
Important* - Change 192.168.50.1 to your ip4 address of your computer. You can get your ip4 address by simply type ipconfig to the command prompt. The final step that you have to do is to restart your wamp server. Now you can check your project on another computer over lan.
0 comments:
Post a Comment