mahmood Posted June 30, 2007 Share Posted June 30, 2007 I reinstall my windows every 3/4 months for one reason or another and never had a problem with php installation - using windows installer and IIS - but this time I can't get PHP 5.2.3 working, I wonder if it is because of some changes in new version. This is what happens, the server completely ignors everything inside php tags and absolutely no error for example if I put <php>echo phpinfo();</php> I get a completely blank page. Any idea? Quote Link to comment https://forums.phpfreaks.com/topic/57837-only-a-blank-page/ Share on other sites More sharing options...
wildteen88 Posted June 30, 2007 Share Posted June 30, 2007 <php></php> tags do not even exist. You should use the following as tags: <?php ?> Quote Link to comment https://forums.phpfreaks.com/topic/57837-only-a-blank-page/#findComment-286615 Share on other sites More sharing options...
mahmood Posted June 30, 2007 Author Share Posted June 30, 2007 <php></php> tags do not even exist. You should use the following as tags: <?php ?> Sorry it was a typo. The page remains completely blank for example if I type <? echo "test"; ?> Edit: I just tried <?php instead of <? and it works fine. How do I make changes so the old <? works as well? Quote Link to comment https://forums.phpfreaks.com/topic/57837-only-a-blank-page/#findComment-286675 Share on other sites More sharing options...
wildteen88 Posted June 30, 2007 Share Posted June 30, 2007 I would recommend you to code with full PHP tags rather than short PHP tags this helps to keep your PHP code more portable. However if you must you cna enabled a setting called short_open_tag Quote Link to comment https://forums.phpfreaks.com/topic/57837-only-a-blank-page/#findComment-286796 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.