LAMP question

view full story

http://forums.opensuse.org – For 2 days I could not get PHP to work in Apache. Always one thing or another. I was using localhost and to test my script and it would never work. I looked at my hostnames in Yast and found localhost for both my IP address and for my internet IP address. I decided to try my internet address for test script and voila! Never used Apache or PHP before and would like to know what is the reason script works on one and not the other. Also, does that mean using the internet IP only for PHP scripts? Any security risks I'm unaware of? (Distributions)