// archives

PHP

This category contains 16 posts

Mod_security settings for WordPress 3.x

If you enable mod_security on your apache server and you install the base-rules, you’ll probably notice the WordPress blog isn’t functioning correct anymore. To fix this, you could add the following between the <vhost> tags in your vhost file that powers your blog: <LocationMatch "/"> SecRuleRemoveById 910006 # Google robot activity – Useful in someways [...]

Goodbye Ibuildings, Hi Rhinofly

After being part of their highly skilled team for over 17 months I’ve decided to leave Ibuildings. I’d like to thank Ivo for believing in me and helping me out if needed. I’ve learned a lot and it’s been a privilege to work there. Starting the first of March I’ll be developing in ColdFusion and [...]

Developing in PHP with NetBeans 6.8

The problem: I love Textmate as an editor period. There are some things though that I started missing while developing: Code completion Inline documentation instant error checking debugging from my editor must have strong syntax highlighting support (for dark themes like my favourite Sunburst) So I started looking around for an IDE(or Editor) that would [...]

Installing xDebug 2.0.4 or 2.1 on OSX

In my previous post we installed the latest apache and php from source and now I’d like to install xDebug to it. As stated in the comments on the previous post, I like living on the edge, so I build it myself, instead of using packages like MAMP or XAMMP or using binaries. With that [...]

Installing PHP 5.2.8 on OSX Leopard 10.5.6

Because I travel a lot by train, it’s easy to have a local development environment with me. Because OSX Leopard contains Apache2 and PHP 5.2.6, I installed MySQL, ZF, PEAR, setup the vhost conf for apache and added the path to the ZF and PEAR libraries to /etc/php.ini. This seemed to work fine for a [...]

My Adobe MAX report

As told in my last post, I was invited to the Adobe MAX conference in San Francisco. I really had blast there. Thanks again for inviting me Mike! This blogpost only covers my personal experiences; to read more about the tracks I followed and what they were about, you’re more than welcome to read the [...]

CakePHP site redesign for 1.2 release ?? !!

A week or 2 ago the appearance of the bin changed from to  . Today Trac was offline for a couple of hours and when it came back looked like this: Would this be the redesign for the CakePHP 1.2 release ??

CakePHP: Calling bake from every dev-app install folder

If you use a setup like I explained in my previous post calling the bake script involves a lot of typing with the core and app parameter paths. If I want to call the bake script from the /Users/mwesten/Sites/dev/myapp cake app folder, it has to be done like this:

CakePHP: Central cake core install with multiple apps

When developing on my system I like to use only one version of the core files. If I update the core files from svn it gets updated for all apps I’m working on. The way I’m using this is explained below: In my web-root I do an svn export of cake latest: cd /Users/mwesten/Sites svn [...]

CakePHP on OSX: Problem using Bake.php script

If you are getting the following errors while trying to bake something on osx 10.4: "Warning: mysql_connect(): Can’t connect to local MySQL server through socket ‘/var/mysql/mysql.sock’ (2) in /Library/WebServer/Documents/development/bakery/cake/libs/model/dbo/dbo_mysql.php on line 117" try doing the following: sudo ln -s /tmp /var/mysql Or you could follow the instruction given by Apple: Mac OS X Server 10.4: [...]