sdsd2009 Posted September 5, 2009 Share Posted September 5, 2009 Hi guys, i just installed a apache2 with php5 support. The prom i'm gettin is the followin: all my sites on my 2nd server start php with just the command <? When i now try to run it on this recently installed server there's just nothing displayed. But when i change it to <?php it works again. So i'm askin u, how i can change this? How can i change it, that all my documents allready run php when i open it with <? Thanks in advance, guys Quote Link to comment https://forums.phpfreaks.com/topic/173262--/ Share on other sites More sharing options...
corbin Posted September 5, 2009 Share Posted September 5, 2009 You will need to set short_open_tag to 1 in your php.ini file. I suggest changing all of the <? to <?php though since you may host files on a server at some point where you will not have the ability to enable short tags. Quote Link to comment https://forums.phpfreaks.com/topic/173262--/#findComment-913292 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.