I set up a virtual server on Ubuntu 14, installed Apache + PHP5, if the code starts with
<?php
, the page works. If it starts with
<?
that doesn't work.
Solution: http://php.net/manual/en/language.basic-syntax.phptags.php This will allow you to recognize the PHP code; tags as PHP source which should be processed as such. It is; generally recommended; it may be a problem; documents, however this remains supported for backward compatibility reasons. ; Note that this directive does not control the http://php.net/short-open-tag short_open_tag = ON
<?php
- Suvitruf ♦short_open_tag
in php.ini included? - Suvitruf ♦