PHP CLI neat errors!  
Author Message
sf





PostPosted: 2008-3-13 2:49:14 Top

php-general, PHP CLI neat errors! So, I use a Mac to develop with. I used to host Zend Core on my box,
until I switched to the MAMP PRO framework.

Unfortunately somewhere in between, this lovely issue started occuring
with my CLI binary of PHP:

foo:~ sf$ php -l
dyld: NSLinkModule() error
dyld: Symbol not found: _zend_extensions
Referenced from: /usr/local/Zend/Core/lib/zend/ZendExtensionManager.so
Expected in: flat namespace

Trace/BPT trap

I could recompile PHP because if I'm reading this properly, some
dynamically shared libraries aren't loading. Before I do that though,
was curious if anyone ever faced the same dilemma before.

Cheers!

/sf
 
petersprc





PostPosted: 2008-3-13 3:01:00 Top

php-general >> PHP CLI neat errors! Hi,

Maybe try disabling xdebug or Zend Optimizer if you have those
extensions enabled?

Regards,

John Peters

On Mar 12, 2:49 pm, email***@***.com ("Steve Finkelstein") wrote:
> So, I use a Mac to develop with. I used to host Zend Core on my box,
> until I switched to the MAMP PRO framework.
>
> Unfortunately somewhere in between, this lovely issue started occuring
> with my CLI binary of PHP:
>
> foo:~ sf$ php -l
> dyld: NSLinkModule() error
> dyld: Symbol not found: _zend_extensions
> Referenced from: /usr/local/Zend/Core/lib/zend/ZendExtensionManager.so
> Expected in: flat namespace
>
> Trace/BPT trap
>
> I could recompile PHP because if I'm reading this properly, some
> dynamically shared libraries aren't loading. Before I do that though,
> was curious if anyone ever faced the same dilemma before.
>
> Cheers!
>
> /sf