Config PHP in HTTPD to read only "<?" without "php"

mar2195
mar2195 used Ask the Experts™
on
Is there a way to configure the PHP section in HTTPD.CONF file to process PHP files with only "<?" ... without the "php" ?

Meaning...
Currently using:  <?  some stuff;  ?>
- - server is not reading php files
When I use:  <?php  some stuff;  ?>
- - server reads php files just fine

Instead of updating a TON of php files, is there a way to edit the HTTPD file to make the server process the PHP files correctly without the additional "php"?


FYI:  This is on a Windows Server - PHP5.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Set :

short_open_tag = On

in your php.ini and it should work
Fixer of Problems
Most Valuable Expert 2014
Commented:
That's in 'php.ini'.  Set "short_open_tag" to "1".   http://www.php.net/manual/en/ini.core.php

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial