Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6865693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:05:09+00:00 2026-05-27T03:05:09+00:00

I’ve installed Zend Server CE on my MacOS Lion, and everything is running smooth

  • 0

I’ve installed Zend Server CE on my MacOS Lion, and everything is running smooth except from PHPUnit.

My installation of PHPUnit was made from the PERL that comes with Zend Server CE.

Here is the output from when I run phpunit through the console:

Failed loading ”/usr/local/zend/lib/php_extensions/xdebug.so”:      dlopen(”/usr/local/zend/lib/php_extensions/xdebug.so”, 9): image not found
PHP Warning:  PHP Startup: Unable to load dynamic library     '/usr/local/zend/lib/php_extensions/mcrypt.so' -     dlopen(/usr/local/zend/lib/php_extensions/mcrypt.so, 9): Library not loaded:     /usr/lib/libltdl.3.dylib
  Referenced from: /usr/local/zend/lib/php_extensions/mcrypt.so
  Reason: image not found in Unknown on line 0
PHP Warning:  Xdebug MUST be loaded as a Zend extension in Unknown on line 0
PHP Fatal error:  Call to undefined method PHP_CodeCoverage_Filter::getInstance() in     /usr/local/bin/phpunit on line 39
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/phpunit:0

Does anybody know what the problem or problems could be?

Thanks and regards!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:05:10+00:00Added an answer on May 27, 2026 at 3:05 am

    Ok, this is my first answer. So go easy on me.

    Tonight I had the very same issues with Zend Server CE on OSX Lion. In order to solve them, you’ll have to install xcode as the unix development tools are required.

    Let’s get started, you have two issues: xdebug.so and libltdl.3.dylib

    First xdebug.so is not found, to install it you should run the following from the command line:

    sudo su -
    

    It will ask you for you password (if you don’t have one just press the enter key). Then:

    export CFLAGS="-arch i386 $CFLAGS"
    export CCFLAGS="-arch i386 $CCFLAGS"
    export CXXFLAGS="-arch i386 $CXXFLAGS"
    export LDFLAGS="-arch i386 $LDFLAGS"
    /usr/local/zend/bin/pear config-set php_ini /usr/local/zend/etc/php.ini
    /usr/local/zend/bin/pecl install xdebug
    

    The first four lines, force the compiler to generate a 32 bit binary, as Zend Server is a 32 bit binary and OSX Lion is a 64 bit operating system.

    Alright, now you should have xdebug.so installed on */usr/local/zend/lib/php_extensions*, just make sure that your /usr/local/zend/etc/php.ini file loads xdebug with the following line after all other extensions and before the [zend] section:

    zend_extension=/usr/local/zend/lib/php_extensions/xdebug.so
    

    Here’s the fragment from my php.ini:

    ...
    ;extension=odbc.so
    ;extension=imagick.so
    zend_extension=/usr/local/zend/lib/php_extensions/xdebug.so
    
    [zend]
    zend_extension=/usr/local/zend/lib/ZendExtensionManager.so
    ...
    

    If it doesn’t please add it manually, then check if your php.ini file contains the following line and delete it as xdebug must me loaded as a Zend extension.

    extension=xdebug.so
    

    Second, as soon as you install xcode, libltdl.dylib will be available in /usr/lib, so you can create a symbolic link to it with the following command:

    sudo ln -s /usr/lib/libltdl.dylib /usr/lib/libltdl.3.dylib
    

    Next time you run phpunit everything should go smoothly (haven’t tested any mcrypt functions though).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently running into a problem where an element is coming back from
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from
Does anyone know how can I replace this 2 symbol below from the string
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have a bunch of posts stored in text files formatted in yaml/textile (from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.