LoginSignup
0

More than 5 years have passed since last update.

PHP Turned off ShortOpenTag on OS X El Capitan

Last updated at Posted at 2015-10-04

PHP on OS X El Capitan upgraded to 5.5.20 for Apache2 and 5.4.2 for CLI.

PHP Version 5.5.20
php-osx.liip.ch by Liip (originally developed by www.local.ch)

And

PHP 5.4.42 (cli) (built: Jun 12 2015 07:59:53)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

Then, the short open tag parameter had been set to off.

short_open_tag = Off

So any one had placed <? /*...*/ ?> in php file should have been trapped. Such as

PHP Parse error:  syntax error, unexpected end of file in [ANY PHP FILE]

Well, that's hint.

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0