Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th May 2012, 16:55
Moundy Moundy is offline
Junior Member
 
Join Date: May 2012
Posts: 27
Thanks: 3
Thanked 0 Times in 0 Posts
Default <? doesnt work only <?php works

Hey guys,

i have another question. Scripts like

Code:
<?
echo('test');
?>
doesnt work, only

Code:
<?php
echo('test');
?>
works.

Is there a way to make "<?" works also?

Cheers
Reply With Quote
Sponsored Links
  #2  
Old 29th May 2012, 08:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,908
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
Default

Enable short_open_tag in your php.ini and restart apache.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th May 2012, 10:35
Moundy Moundy is offline
Junior Member
 
Join Date: May 2012
Posts: 27
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Hey Till,

is there any security risk after setting it on "on"?

Cheers
Reply With Quote
  #4  
Old 29th May 2012, 10:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,908
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
 
Default

No. Off is just the default in current PHP versions.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to config Proftpd to work with passive mode in ISPConfig 2.2.35 X-admin Installation/Configuration 0 6th June 2010 18:52
VirtualHost doen't work! carachi83 Installation/Configuration 6 17th November 2009 10:01
Webalizer returns no output,getnameinfo didn't return any usable information! CarbonCopy Server Operation 1 11th August 2009 03:46
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 09:50
virtual sites (php doesn't work, html does work!) ipraid Installation/Configuration 1 8th November 2008 14:29


All times are GMT +2. The time now is 18:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.