DTrace with Entropy PHP on OSX Leopard

Similar to Xdebug, DTrace also didn’t want to work and failed with the same error, so I tried the same trick, and it worked.

Follow the instructions from Lee Packham’s blog but configure it as a 64-bit application:

  1. tar xzf dtrace-1.0.3fixtar.gz
  2. cd dtrace-1.0.3+fix
  3. phpize
  4. CFLAGS=’-arch x86_64′ ./configure –with-dtrace
  5. make
  6. make install

So far so good, the module is loaded. Now let’s see if Instruments will do its thing.

Xdebug on OSX Leopard with Entropy PHP5

Since I have been struggling with this for forever and finally found an answer, here’s an attempt to spread the wealth knowledge around.

Blog: Compiling & installing Xdebug for PHP 5.2.5 (Entropy.ch build) on OS X 10.5

Just to give the web crawlers some more info, the error message was:

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so’ – (null) in Unknown on line 0

The solution is to compile it manually as a 64-bit application like so:

CFLAGS=’-arch x86_64′ ./configure –enable-xdebug

Hope this helps someone out there.

Adult Stem Cells treat spinal cord injuries. No one cares.

Per Wesley J. Smith’s blog Secondhand Smoke comes this story about adult stem cells being successfully used to treat spinal cord injuries. No one seems to care that these uncontroversial treatments are showing a lot of promise already, and everyone flocks around Obama as he “restores science to its rightful place” by continuing to fund controversial embryonic stem cell research and also cutting funding for adult stem cell research. You won’t find this last one widely reported either. It’s about time the mainstream media lost their influence.

Bush’s deficit spending bad? Think again.

Yeah I’m on a financial roll. This is interesting though. Karl Rove in the WSJ:

Mr. Obama cannot dismiss critics by pointing to President George W. Bush’s decision to run $2.9 trillion in deficits while fighting two wars and dealing with 9/11 and Katrina. Mr. Obama will surpass Mr. Bush’s eight-year total in his first 20 months and 11 days in office, adding $3.2 trillion to the national debt. If America “cannot and will not sustain” deficits like Mr. Bush’s, as Mr. Obama said during the campaign, how can Mr. Obama sustain the geometrically larger ones he’s flogging?