Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th September 2011, 21:04
JEU JEU is offline
Member
 
Join Date: Jan 2008
Location: Argentina
Posts: 30
Thanks: 2
Thanked 4 Times in 4 Posts
Question short_open_tag disabling for a certain site

Hello guys, im trying to get some site developed with symfony up, my problem is that the "check.php" who test the enviroment for symfony keeps telling me that "short_open_tag = On". I have "php_flag short_open_tag Off" on the php.ini configuration for that site, but doesnt work.

Any ideas??

P.S.: phpinfo() is telling the same thing about short_open_tag.
Reply With Quote
Sponsored Links
  #2  
Old 27th September 2011, 21:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,389 Times in 4,234 Posts
Default

Which php mode do you use in that site?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th September 2011, 22:05
JEU JEU is offline
Member
 
Join Date: Jan 2008
Location: Argentina
Posts: 30
Thanks: 2
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by till View Post
Which php mode do you use in that site?
It has Enabled CGI/SuEXEC and PHP is set on "Fast-CGI"
Reply With Quote
  #4  
Old 27th September 2011, 22:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,389 Times in 4,234 Posts
Default

Ok. Then you have to enter this line into the php.ini field of the website, press save and wait a minute:

short_open_tag = On

The syntax with php flag that you used is for mod php only and is used in the apache directives field then and not the php ini field.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
JEU (27th September 2011)
  #5  
Old 27th September 2011, 22:49
JEU JEU is offline
Member
 
Join Date: Jan 2008
Location: Argentina
Posts: 30
Thanks: 2
Thanked 4 Times in 4 Posts
 
Default

Quote:
Originally Posted by till View Post
Ok. Then you have to enter this line into the php.ini field of the website, press save and wait a minute:

short_open_tag = On

The syntax with php flag that you used is for mod php only and is used in the apache directives field then and not the php ini field.
Excellent!. Its working now thks!! .

Of course that i didnt knew that about syntax, can you briefly resume which syntax must be used which each PHP setting?
I assume it will be the same that you've showed me for CGI/FastCGI, but what happens if im using ModPHP or suPHP?

I have a Moodle installation (Fast-CGI) and it seems to work fine with:

Code:
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
php_flag file_uploads On
php_flag short_open_tag On
php_flag session.auto_start Off
php_flag session.bug_compat_warn Off
php_value upload_max_filesize 2M
php_value post_max_size 2M
in the php.ini from that site, but now i realize that is wrong, however why it worked? (or at least moodle didnt complained about it).

Thks for being patient
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
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 22:41
HELP: Enabled SSL on Site, Broke site astewart Developers' Forum 7 2nd April 2009 23:34
Site Skeletons rbartz Feature Requests 11 29th November 2008 16:07
I just need one website...... showe1966 Installation/Configuration 21 19th September 2007 23:20
Static Web Site Configurations christopher Installation/Configuration 8 18th November 2006 14:43


All times are GMT +2. The time now is 06:42.


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