Connecting the dots…

Thoughts on Web Development, Scalability and Application Architecture

Tag: Phing

phing phplint out of memory

Had a funny problem at work today, my php.ini was set to 1G however the script would still fail saying it couldn’t allocate 32bytes of memory which was a bit odd. A little investigation showed that at lib/php/phing/Phing.php // should return memory limit in MB $mem_limit = (int) ini_get(‘memory_limit’); if ($mem_limit < 32) { // [...]

PHPUnit: Installing 3.4.0

Strangly enough the following command doesn’t install the latest version of phpunit for me. $ pear channel-discover pear.phpunit.de $ sudo pear install phpunit/PHPUnit I am after 3.4.0 as phing absolutely/definitely wants that version for the whole thing to work. Here’s a quite note-to-self on how to get around that. Download the latest package that needs [...]

More: Synchronization using phing

Reading more about automation stuff, I came across Phing which is like Apache Ant but uses php to write “tasks” classes. According the Phings website. PHing Is Not GNU make; it’s a project build system based on Apache Ant. You can do anything with it that you could do with a traditional build system like [...]