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

What do you mean by having php as whitespace insensitive?

0 Answers  


What is Type hinting in PHP?

0 Answers  


List types of array are available in php?

0 Answers  


What is slim framework?

0 Answers  


What is php date function?

0 Answers  






How to connect to mysql from a php script?

0 Answers  


What is difference between static and final in php?

0 Answers  


How to display your correct URL of the current web page?

0 Answers  


Apart from mail() function to send emails,is there any other functions in PHP to send emails?

4 Answers  


How to execute a php script from the command line?

0 Answers  


Tell me how can we connect to a mysql database from a php script?

0 Answers  


Hi all,, im completely new to PHP, started learning just 2 days before. Can anybody tell me how to run a PHP file to see the program's output? i have created some simple program in Dreamweaver CS3 but don't know how to run it...

1 Answers  


Categories