PHP 5.1.4 Install on Intel Mac (Bug?)
August 16, 2006 – 4:47 pmI noticed after installing PHP 5.1.4 on my brand new MacBook Pro that my scripts weren’t executing. After about 3 hours of messing around, I realized that short_open_tag was turned off in php.ini.
Location: /usr/local/php5/lib/php.ini
Should be: short_open_tag = On
Not sure if this is a common issue, or if the PHP defaults have been changed. I installed the package distributed by Marc Liyanage, found at his homepage.
Edit: According to the php web site, this should be on by default.
| short_open_tag | “1″ | PHP_INI_PERDIR | PHP_INI_ALL in PHP <= 4.0.0. |



2 Responses to “PHP 5.1.4 Install on Intel Mac (Bug?)”
The default behaviour was changed due to problems working with XML
By dotdot on Sep 16, 2006
This was exactly the problem on my machine. thanks for the fix.
-boice
By boice tomlin on Apr 7, 2007