Modifying httpd.conf to serve over the internet in EasyPHP
问题 I'm running EasyPHP on Windows. The default install just opens port 80 on the loopback interface, 127.0.0.1. I want my sites to be accessible over the local network too. There are no simple EasyPHP settings for enabling my other interface, like the one that's connected to the internet (let's say 192.168.1.3). What do I add/modify in Apache httpd.conf? 回答1: Use this code in your httpd.conf ServerName localdomain # env SetEnv TMP "/tmp" ServerAdmin admin@devserver DocumentRoot "/var/www"