To install the new XAMPP ensure you firstly uninstall and remove your current XAMPP folder. Upgrades are not supported with this version due to the differences one of which is the removal of PHP4 support from the XAMPP package.

I like to install agavi via the pear package that is available:

  1. Open a command prompt and navigate to your XAMPP directory eg. D:\xampp\php

  2. Execute:

    1. pear channel-discover pear.agavi.org
    2. pear config-set auto_discover 1
    3. pear config-set preferred_state beta
    4. pear install -a agavi/agavi
  3. Wait for a bit as it installs

  4. Execute the command agavi and you will get a phing error

To rectify the error we must complete a little bit of a hack to trick the agavi batch file into recognising our phings version is greater than 2.3.1. Navigate into your XAMPP PEAR folder (D:\xampp\php\PEAR\phing) and create a new directory called ‘etc’. Inside your ‘etc’ directory create a new text file called ‘VERSION.TXT’ containing the following text ‘Phing 2.3.3 BRANCH (2.3dev)’.

Try executing the agavi command on the command line again and you should have a successful response like:

D:\xampp\php > agavi

Agavi > status:

[echo] PHP:
[echo] Version: 5.2.8 [echo] Include path: .;D:\xampp\php\pear [echo] [echo] Phing: [echo] Version: Phing 2.3.3 BRANCH (2.3dev) [echo] [echo] Agavi: [echo] Installation directory: D:\xampp\php\pear\agavi [echo] Version: 1.0.0-beta6 [echo] URL: <http://www.agavi.org> [echo] [echo] Project: [echo] (not found) [echo] [echo] For a list of possible build targets, call this script with the -l argument.

D:\xampp\php >

Hope that helps you out and you can continue to follow the official tutorial.