PHP 5.1.4 Install on Intel Mac (Bug?)
I 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.