0

I have to migrate a php website from windows to centos. But I found that so many php codes embedding in html are wrapped in

<? echo sth ?>

but not

<?php echo sth ?>

so those php files don't work.

my OS is centos6.4 64bit, and the web server is Apache/2.2.15

anyone help me?

worldask
  • 1,837
  • 3
  • 22
  • 37

1 Answers1

4

As I commented, turn

short_open_tag=on

in php.ini

Limiter
  • 497
  • 3
  • 11