PHPUnit Installation Tips regarding tests in Zend Framework

Hi there, I spent quite a bit of time trying to figure out how to install PHPUnit and run tests with it. All the buzz comes from the fact that XAMPP can contain PHPUnit in its php\pear folder.  First I would recommend to uninstall the PHPUnit under your PEAR folder, so open command prompt from your XAMPP control panel and run:

xampp

(more…)

How to install Zend Framework 2 on XAMPP

zf2Hey guys, I spent quite a bit of time trying to find a proper way of how to install Zend Framework 2 on XAMPP. Here are my tips about how to tackle and get started with Zend Framework 2.

 

1)      Go to C:\xampp\apache\conf\extra and modify httpd-vhosts.conf

Insert lines like:

<VirtualHost *:80>

ServerName zf.localhost

DocumentRoot C:\xampp\htdocs\zf\public

#ErrorLog “logs/dummy-host2.example.com-error.log”

#CustomLog “logs/dummy-host2.example.com-access.log” common

SetEnv APPLICATION_ENV “development”

<Directory C:\xampp\htdocs\zf\public>

DirectoryIndex index.php

AllowOverride All

Order allow,deny

Allow from all

</Directory>

</VirtualHost>

(more…)