properly set $wgDebugLogFile path under Apache

WORKSPACE is not set under Apache, fallback on $IP.

Change-Id: I3959db0b1d7be25378e9345d71127729464f8e39