0

I have never used php but have been asked to set up a site for some code we have inherited. I have configured php to run on iis6 sucessfully however there is one issue.

This page will work properly...

<?php phpinfo(); ?>

But this will not...

<? phpinfo(); ?>

How do I get the latter to work?

1 Answer 1

6

You need to enable short tags in your php.ini file. Its the section with --disable-short-tags in it.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, it was actually short_open_tag=off, but you're answer set me on the right path.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.