Icon Patrick Gibsonpatrickgibson.com
news and such projects, etc. movies writings hyperlinks contact
search:
news and stuff

Xdebug for PHP 4.4.8 on Mac OS X Leopard Tuesday, June 17, 2008
To anyone trying to compile Xdebug for use with PHP 4.4.x on Mac OS X Leopard, you will probably have problems loading the module if your PHP was compiled as a Universal binary. You will see something like:

Failed loading /path/to/xdebug.so (null)

You need to specify some options on before you run configure to have Xdebug compiled as a Universal binary:

MACOSX_DEPLOYMENT_TARGET=10.5 \
CFLAGS='-arch i386 -arch x86_64 -arch ppc7400 -arch ppc64' \
LDFLAGS='-arch i386 -arch x86_64 -arch ppc7400 -arch ppc64' \
CXXFLAGS='-arch i386 -arch x86_64 -arch ppc7400 -arch ppc64' \
./configure --enable-xdebug

Posted at 11:55
« Do not shop at Barnes and Noble (bn.com) | Back to News and Such | Leopard and usbmuxd issues »

Comments

Post a comment
Name:

Email Address: (optional)

Website: (optional)

Comments:

Enter the number shown here:

back

Retrix Hosting