running php5.5.9 on apache2.4 under ubuntu 14.04.2 LTS server x86_64 my old php code has <?
in the middle to switch from HTML back to php but it no longer works and the <?
is just output as if it were HTML. if i change it to <?php
then the whole page goes blank. curl shows in this case that the server outputs nothing. this is where i am trying to output the client IP address.
the web page: http://linuxhomepage.com/ or: http://linuxhomepage.com/index.php
you can see the raw php code here: http://linuxhomepage.com/index.txt
if you get an IPv6 address these won't work as apache is not letting me bind it, yet (i am still digging into that at a lower priority).
<?
and <?php
both fail in different ways. so how can i make this work?
Edit: IPv6 is working on Apache now, next to get DNS on IPv6.