Forum Moderators: coopster

Message Too Old, No Replies

having problems running some php files on apache for windows

         

ahmed24

1:02 pm on Jul 17, 2006 (gmt 0)

10+ Year Member



Hello,

I am running Apache 2 for windows and have PHP installed and working fine on the server. However, some of the php scripts and programs i have do not use the <?php starting tag, the use <? instead, and as a result of this, the script does not execute.

Can anyone tell me how i can configure apache to allow both <?php tag and <? aswell?

Thank you

jatar_k

1:11 pm on Jul 17, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld ahmed24,

it isn't in the apache settings, it is a setting in your php.ini

look for the setting short_open_tag [php.net]

eelixduppy

1:12 pm on Jul 17, 2006 (gmt 0)



Welcome to WebmasterWorld ahmed24,

You have to change short_open_tag [us3.php.net] in your php.ini.

Good luck

[edit]he he ;)[/edit]