PHP 5.1.4 Install on Intel Mac (Bug?)

RustyRazorblade Consulting RustyRazorblade Consulting
1 min read

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.  _

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.

RustyRazorblade Consulting

RustyRazorblade Consulting

Apache Cassandra Consultant and Distributed Systems Expert

Need Expert Help with Apache Cassandra?

Get professional consulting for your distributed systems challenges. Performance optimization, architecture design, and troubleshooting.