ubiquitas 0 Newbie Poster

Hello

I've been searching low and high to find the answer to this question. I should point out I'm an apache/php noob so if you have an answer/solution please explain it in understandable terms.

My situation is thus...

If I run PHPCONFIG(); in a php page, what should the SERVER["SERVER_ADDR"] return, and would the answer be the same on an Apache cluster ?

a. The external IP that the website domain resolves to; or
b. The internal private network IP of the clustered machine.

I think the answer should always be A.

Also, where oh where in the Apache config files would I set this IP address

Thanks in advance :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.