-3

I migrated a php website to a new server.

 Old PHP Version -> 5.2
 New PHP Version -> 5.5

When a script contains the T_OPEN_TAG

<?

instead of

<?php

the server is sending a 500 Server error. How is it possible to allow that php could start with

<?

thank you

labu77
  • 605
  • 1
  • 9
  • 30

1 Answers1

2

Set

short_open_tag=On

in php.ini

And restart your Apache server.

Irfan Ali
  • 2,238
  • 1
  • 23
  • 22