Jun 6 2009

NetBeans, Apache, PHP, XDebug and Symfony on Mac OSX… easy!

Six months ago I tried to get Apache, PHP, MySQL and Symfony on my Mac OSX build, so that I could avoid using a CentOS based dev environment I was running in VMWare Fusion. After weeks of struggling with compiling apache, php and mysql I gave up and stuck with CentOS Linux.

Today I stumbled across the following two tutorials as a result of switching to the NetBeans IDE for my php development work. In short, using the free version of MAMP and by following the steps described in the second tutorial you can be up and running with Symfony dev environment on your Mac. ;)

Happy coding!


Feb 8 2007

How to use NuSoap with PHP 5

Seems by just renaming the soapclient class and constructor you can ‘patch’ NuSoap to work with PHP5.

I’ve renamed the constructor and the class to soap_client and it all works.

Thanks to Vivek Jishtu for the original tip.

http://vivekjishtu.blogspot.com

Technorati Tags: , , , ,


Oct 7 2006

Offline / download (downloadable) / PDF Drupal API reference

I’ve been looking for an offline or pdf version of the Drupal API found here: http://api.drupal.org/

In the end I gave up and followed the advice of a fellow Drupal developer and created an offline copy of the Drupal docs using Httrack: http://www.httrack.com/.

Please remember to only use this occasionally as you are effectively hammering Drupal’s servers.

Technorati Tags: , ,


Aug 23 2006

Symfony – “PHP Fatal error: Class ‘DomDocument’ not found” problem

Just stumbled across this error on my first step to setting up my Symfony environment on a CentOS 4.3 system. I’ve decided to blog about it so that google can index it and hopefully help somebody else.

PHP Fatal error: Class 'DomDocument' not found in /usr/share/pear/symfony/vendo
r/propel-generator/classes/propel/phing/AbstractPropelDataMo delTask.php on line
406

The solution? Make sure you have php-xml installed. I didn’t and installing it fixed it.