Page 1 of 1

short_open_tag = On

PostPosted: 21. January 2010 18:24
by jmair
I've been trying to set the "short_open_tag =" to "On" in the php.ini (located in the xampp\php folder ). But when I check the Php phpinfo(), the short_open_tag switch still shows Off.

I've start/stopped apache and used xampp_restart.exe countless times.

Here's what I have in my php.ini
Code: Select all
short_open_tag = On
;   Default Value:On
;   Development Value: Off
;   Production Value: Off


Any ideas?

Re: short_open_tag = On

PostPosted: 21. January 2010 18:47
by Wiedmann
Here's what I have in my php.ini

Revert your change in this line, instead adjust the correct line (~226).

I've been trying to set the "short_open_tag =" to "On"

But the best solution is to correct your scripts (even you have more then one or two to change ;-) )...

Re: short_open_tag = On

PostPosted: 21. January 2010 18:53
by jmair
Wiedmann wrote:
Here's what I have in my php.ini

Revert your change in this line, instead adjust the correct line (~226).

I've been trying to set the "short_open_tag =" to "On"

But the best solution is to correct your scripts (even you have more then one or two to change ;-) )...

That's too funny. Thanks! I never bothered to "find" the next short_open_tag" in the php.ini, the one that needed to be changed.
Thanks again! :D