Problems with the Windows version of XAMPP, questions, comments, and anything related.
by gmexapache » 18. March 2010 23:49
Hello everyone!
I have a MAMP installation on my mac where I developed some php apps using
textmate (unix format an LF endings). In every "head" file I always start with
<?php but in the next lines I use <? only. Every thing works fine on the mac
but when I transfer the file to a pc with windows XAMPP it seems that it can't
interpret those rigth. If I change every <? to <?php then it works on windows.
Does anybody has any other easier solution?
Best Regards
-
gmexapache
-
- Posts: 3
- Joined: 23. February 2010 23:06
by Altrea » 19. March 2010 05:40
<?php is the correct and recommend start tag for php blocks. The short tag <? can be a little bit tricky to work with XML side by side.
If you really know, that you don't need XML for your projects you can activate "short_open_tag" in the php.ini. But i recommend you to do not.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!It's like porn for programmers
-
Altrea
- AF Moderator
-
- Posts: 11941
- Joined: 17. August 2009 13:05
- XAMPP version: several
- Operating System: Windows 11 Pro x64
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 128 guests