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.