Wednesday, May 13, 2015

How to enable PHP short tags?

In php some time you face problem in

<? tag and <?php tag 

the both tag are used in php but sometime <? tag is not working so you get Errors

to solve this error you have to a small change in your php.ini file and you get solution .
   
Set

                            
 short_open_tag=On          
                            
 
in php.ini

And restart your Apache server.
 
 

No comments:

Post a Comment

How to Host a Laravel Project on Hostinger’s hPanel: A Step-by-Step Guide

How to Host a Laravel Project on Hostinger’s hPanel: A Step-by-Step Guide If you're looking to host a Laravel project on Hostinger’s hPa...