Hey Mark,

These can be annoying bugs. I have had loads of them.
Is there more info in your error log?
Just remove all the end tags in your files.

Hope it helps!


On Mon, Aug 23, 2010 at 8:36 PM, Mark Steudel <[email protected]> wrote:

> Hi All,
>
> We have a ZF project which we have developed locally on our machines using
> MAMP and it runs fine. When we've transferred it to the prod server we're
> getting the error:
>
> Parse error: syntax error, unexpected $end
>
> My initial guess's were extra line break after a closed php tag, but I've
> haven't found anything like that. Then it was short tags in the ini file,
> it's turned on.
>
> I'm wondering if anyone has any areas maybe apache conf or php ini settings
> that might cause something like this? Or any other areas to look at, or
> maybe there happens to be some bug with certain versions of PHP. I'm sorta
> at a loss.
>
> The server is running:
>  PHP 5.3.3
> Apache 2.2.3
>
> Here's the configure command for PHP, it's awfully short compared to what
> I'm used to seeing:
> './configure' '--with-apxs2=/usr/sbin/apxs' '--with-mysql'
>
> Anything missing?
>
> TIA, MS
>

Reply via email to