HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   HOWTO-Related Questions (
-   -   Unable to have short tags working (

Camomille 26th February 2012 13:33

Unable to have short tags working

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 :


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.


falko 27th February 2012 18:24

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.

Camomille 9th March 2012 11:56

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.


till 9th March 2012 12:03

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.

Camomille 9th March 2012 17:09


I didn't install Ispconfig.

the usual " /etc/php.ini " file is used and phpinfo shows :

short_open_tag        On        On
btw. Freeradius is now back to normal. No explanation ;)

Great thanks for your reply

All times are GMT +2. The time now is 03:40.

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