BBEdit #Shebang!

Now, after getting Zend Debugger to work, trying to run a .php file in BBEdit using #!/usr/bin/php results in the following error:

dyld: NSLinkModule() error
dyld: Symbol not found: _OnUpdateInt
Referenced from:
/Applications/Zend/ZendStudio-5.5.0/lib/php4/ZendDebugger.so
Expected in: flat namespace

This is caused by those new lines in /etc/php.ini (see previous post).

But Zend Debugger needs that configuration, so the fix is to put an empty php.ini into /usr/bin. This allows BBEdit to work around the problem.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.