<?php
phpinfo();
?>
IS given as the be all and end all solution to any PHP problems .. however I have not found anywhere a solution to the problem that
<?php
phpinfo();
?>
is what is actually displayed on the screen. A wordpress install into the same directory will indicate that PHP isn't running. However at a SSH screen php -v
indicates that php IS running
I have torn everything out numerous times (using apt-get
& purging & re installing). I have googled and gone to the 10,11 12 pages of results attempting to find a solution ... I have found a mistake in the Ubuntu documentation (it referred to a directory as being named as .... module when in fact it is called modules). I have found repeated enquiries about exactly the same problem ... the standard answer is create a file info.php put in
<?php
phpinfo();
?>
and there's the solution... No where I have found oh put in
<?php
phpinfo();
?>
AND if you still see .... try X Y or Z. I have tried "due diligence" I have tried anyone of a hundred possible "solutions" all ending up with
<?php
phpinfo();
?>
but Nothing. Please does anyone have anything else I can try? Thank you
phpinfo()
in it is not a solution, don't be silly. – muru Sep 21 '15 at 20:31