Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th February 2012, 12:33
Camomille Camomille is offline
Member
 
Join Date: Mar 2007
Posts: 45
Thanks: 0
Thanked 3 Times in 2 Posts
Default Unable to have short tags working

Hello,

I have reinstalled my server using "' The Perfect Server Fedora 15_86_64

Php pages (or inclusion in html) only open if they have a " <?php " at the beginning.
I am obliged to manually modify all pages since I cannot get it working after edition of /etc/php.ini.

Here are the first lines of my php.ini :

Quote:
engine = On
short_open_tag = On
asp_tags = Off
precision = 14
y2k_compliance = On
output_buffering = 4096
zlib.output_compression = Off
I can give you more lines if you want

I have so many pages to modify! I'll feel more relax and secure if short tags are effectively acceped.
What am I doing wrong or how can I sort this ?
I am using Php 5.3.6 on a Fedora 15 64bits.

Great thanks for your help.

Camomille
Reply With Quote
Sponsored Links
  #2  
Old 27th February 2012, 17:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Did you restart Apache after your changes?

If so, please also check your .htaccess files and vhost configurations - they might contain PHP settings as well.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 9th March 2012, 10:56
Camomille Camomille is offline
Member
 
Join Date: Mar 2007
Posts: 45
Thanks: 0
Thanked 3 Times in 2 Posts
Default

Thanks for your answer and sorry for the late reply !

1. Sure I restarted Apache after the changes. I also tested by stopping httpd before making any change but this did not help !

2.I have not found any .htaccess file.

3.Nothing either in vhost configuration files !!

I tought I could adapt my scripts but this is not sufficient.
I had a working Freeradius server and I tryied to install phpmyprepaid yesterday. I mostly got error messages and my freeradius server only send REJECTS with same db as before now !!!
I saw most of phpmyprepaid files need to have short_tags enabled and I'm afraid it made some faulty changes in my Freeradius files !??? !

Great thanks for any help or tip.

Camomille
Reply With Quote
  #4  
Old 9th March 2012, 11:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Did you specify any custom php.ini settings in the websites in ispconfig? If yes, then a custim php.ini file is used for that site instaed of the global one.

You can see in the phpinfo() command which php.ini file is used for a specific website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 9th March 2012, 16:09
Camomille Camomille is offline
Member
 
Join Date: Mar 2007
Posts: 45
Thanks: 0
Thanked 3 Times in 2 Posts
 
Default

Hello,

I didn't install Ispconfig.

the usual " /etc/php.ini " file is used and phpinfo shows :
Code:
short_open_tag	On	On
btw. Freeradius is now back to normal. No explanation

Great thanks for your reply
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
ubuntu and nginx delgado2061 Installation/Configuration 0 27th November 2011 23:36
ISPConfig 3.0.3.3 Autoresponder, adding subdomain problem BlackHat Installation/Configuration 4 18th October 2011 14:24
Forbidden 403; Samba access; config of maildeamon fawkes Installation/Configuration 4 14th January 2010 18:16
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


All times are GMT +2. The time now is 09:57.


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