XHanch Studio Log in | Register | Cart

Forum

[How to] Enabling P...
 
Notifications
Clear all

[How to] Enabling PHP short tags

1 Posts
1 Users
0 Likes
939 Views
XHanch
(@xhanch-alt)
Posts: 2105
Member Admin
Topic starter
 

PHP short tags, which is <?, refers to short opening tag of <?php. In PHP configuration (php.ini), you can find a short_open_tag variable.

On some server/hosting provider, this option is disabled with unclear reason.

To enable this feature on your server, you will need to edit your php.ini file and change the short_open_tag setting to:

short_open_tag = On

You will have to restart your server/apache/httpd service in order to apply configuration changes.

 
Posted : 14/03/2011 2:15 pm
Share:

× Close Menu