Development using a virtual machine ###################################
You can set up a development virtual machine for ZF1 unit testing and library development following these simple instructions.
Install requirements for VM. (Note: these are not required by ZF1 itself)
Checkout repository to any location
git clone git://github.com:zendframework/zf1.git zf1-dev cd zf1-dev
Start the process by running Vagrant.
vagrant up
This will take a long while as it has to download a VM image and then provision it. Once it has finished, it will exit and leave you back at the command prompt.
SSH into the VM
vagrant ssh
Build a version of PHP.
php-build.sh 5.3.11
This also takes a while as it compiles PHP for you!
Select PHP to use:
pe 5.3.11
Run tests
cd /vagrant/tests phpunit --stderr -d memory_limit=-1 Zend/Acl/AclTest.php phpunit --stderr -d memory_limit=-1 Zend/Amf/AllTests.php (etc...)
Note that you can repeat items 5 and 6 to create any version if PHP.
Notes: