mysqli for WordPress 2.9.1
January 7th, 2010 • freebies, mysql, patch, wordpress • 3 comments
WordPress does not officialy support the mysqli drivers. I needed my WordPress installation to use the mysqli class instead of the mysql ones. I’m sure there will be someone else out there with the same needs I decided to place the modified database class and the patch file online. Use whichever you prefer.
WordPress mysqli 2.9 Database Class Patch
December 30th, 2009 • freebies, patch, php, wordpress • 3 comments
WordPress does not officialy support the mysqli drivers. I needed my WordPress installation to use the mysqli class instead of the mysql ones. I’m sure there will be someone else out there with the same needs I decided to place the modified database class and the patch file online. Use whichever you prefer.
Drupal Hacker
December 10th, 2009 • drupal, hack • No comments
To better share my experience with Drupal to everyone, I’ve set up a new domain http://www.drupal-hacker.com .
Drupal is an awesome product, we all know that. But we also know that not everything works as we expect it and that any software might have it’s quirks. Here at Drupal Hacker, I try to smooth out these problems by providing patches to unmaintained modules or to ignored bugs. Last… don’t take all the sarcasm too seriously!
xdebug trace file parser
November 18th, 2009 • freebies, php, snippets, software, xdebug • 7 comments

When I am trying to optimize my PHP code, one of my prefered tools is xdebug. It provides me with excellent error messages, outputs code tracing files & insight into memory usage.
By using kcachegrind or webgrind – wincachegrind crashes *all* the time – to parse the cachegrind files created by xdebug, you get a good idea of what your code is doing most of the time. It’ll show you which functions are called, by who, which arguments are passed and tons more. Check it out.
Now, there was one small thing I couldn’t find anywhere. A program to parse the trace files that xdebug generates. True, xdebug already provides the option to output this information into HTML, but it’s not really what I was looking for. I want to get quick information in the blink of an eye! That’s why I have created my own trace file parser, based on PHP of course.
Read more »
xampp mysqli crashes apache
November 18th, 2009 • apache, mysql, php, windows, xampp • No comments
Is your XAMPP installation crashing apache when using the mysqli PHP functions on windows? The apache logs are not telling anything even when you have debug mode enabled? Are you getting something like “Faulting application apache.exe, version 2.2.11.0, faulting module ntdll.dll” or “Faulting application apache.exe, version 2.2.11.0, faulting module MSVCR71.dll.” ?
Really? Sure? Well here’s your solution…
Download the most recent version of php_mysqli.dll and place it in <yourxampdir>\php\ext directory.You might want to take a backup of the file you’re replacing in case it doesn’t work…
You can download the php_mysqli.dll righ here or you’ll have to find a recent version for your PHP version yourself.
Recent Comments