PHP not activated?

Hallo,

ich habe nur eine phpinfo(); auf einer Seite:
https://foodnetwork.000webhostapp.com/info.php , leider wird mir da nichts angezeigt. Ein Blick auf den Quelltext zeigt, dass das php in Kommentare gesetzt ist.

Könnt Ihr mir da helfen? Ich habe schon alle PHP-Versionen ausprobiert.

Vielen Dank!

Hi @kirro0107!

Make sure you output the return to the browser:

print(phpinfo());

Hi @NGiNX,

it is still surround the phpinfo in comments. See link in my first post!

Oh, you’re using short PHP tags <? / ?> which are deprecated.

Either use normal PHP tags <?php / ?> instead (recommended), either read this topic to see how to add support for them:

thanks that helped :slight_smile:

You’re welcome :blush: