I just installed php 5.3.1 in my linux server and now my old
work which i used to write with tags is not working at all..

Please help me out.. How can i resolve this??



I just installed php 5.3.1 in my linux server and now my old work which i used to write with tags i..

Answer / rekha_sri


Short tags are disabled by default.
If you want to enable short tags enable the short_open_tag
in the php.ini file. If it is off we need to give On for
enabling the short tags.
But you should use the full length tags <?php ?>.

Reasons for why we should not use the short tags,

* If you want to make your application portable, it may be
short open tags are not allowed on another server and hence
your application is not working.

* It will be removed in PHP 6.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More PHP Interview Questions

Write down the benefits of php7?

0 Answers  


What is session_register()?

0 Answers  


What is a php web application?

0 Answers  


why header() gives the error like header already sent in php please explain in brief

1 Answers   KMK,


can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com

3 Answers  






What is the use of mvc in php?

0 Answers  


How many php functions are there?

0 Answers  


How to register a variable in PHP session?

0 Answers  


How can I add text to an image?

1 Answers   IPSR Solutions, Rushmore Consultancy,


Do you know what is the use of rand() in php?

0 Answers  


i am a php programmer can i be a java programmer?

3 Answers  


What is session data?

0 Answers  


Categories