The Proper Way To Use UTF-8 (PHP/MySQL)

After living in Japan for six years and doing web programming for most of that time, you would think I would have this down by now. I used many combos - from Lasso/FileMaker to PHP/MSSQL and even PHP/PostgreSQL - but never used PHP/MySQL for any CJVK work.  So I did some Googling and found four [...]

Compiling 64-bit Apache/PHP on Mac OS X 10.5.6

Update: The below installation still works on Snow Leopard with PHP 5.3. You can use the latest and greatest of each library/project below and it will still work. However, there is one gotcha. There is a bug somewhere (PHP blames Apple and vice versa) when compiling PHP. To get around this, run the following on [...]

suPHP Premature end of script headers

I don’t really advise using suPHP these days when the power and flexibility of mod_php will handle most of your needs. However, for a shared dev environment where you want to specify the apache user in the config file, suPHP works pretty well. There is one major problem with it though and that is the [...]