PHP errors after installation MAMP via MacPorts

Jasper Frumau jasperfrumau at
Sat Jan 16 03:54:01 PST 2010


php_flag short_open_tag on

to .htaccess and that works. But I would like to search the theme files for
any instances of <? and replace them by <?php so the theme will work on
servers where I will have to work with short tags turned off. I understood
this could be done from the command line. But it seems a little
complicated... I will see if I can do this with textmate as well...

On Sat, Jan 16, 2010 at 10:17 AM, Jasper Frumau <jasperfrumau at>
> On Fri, Jan 15, 2010 at 11:44 PM, Scott Haneda <talklists at>
>> You may want to consider keeping it off in php.ini, and turning it on
just for that host.  That is how I would do it.
> Good idea. Could do that with a .htaccess ..
>> --
>> Scott * If you contact me off list replace talklists@ with scott@ *
>> On Jan 15, 2010, at 11:32 AM, Jasper Frumau wrote:
>> > Thanks for the reply. Solved it. Activated short tags in php.ini and
now all
>> > works. The developer used <? instead of <?php here and there so that
>> > causing all kinds of errors...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list