?
Solved

How do I tell PHP to use <? ?> instead of <?php ?>

Posted on 2008-06-17
2
Medium Priority
?
210 Views
Last Modified: 2013-12-13
I just installed Apache 2.2.9 and PHP 5.2.6 on Vista. It all seems to have taken well.  I can run PHP files but it requires that I encase all PHP commands in <?php ?>.  All my code is written in <? ?> though.  How do I set it up to read the code under <? ?>:
0
Comment
Question by:isilver18
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 82

Accepted Solution

by:
hielo earned 500 total points
ID: 21810235
in php.ini, you need to have this setting:
short_open_tag = On
0
 

Author Comment

by:isilver18
ID: 21810356
Oh my, so simple and so perfect.  
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
This article discusses four methods for overlaying images in a container on a web page
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question