Skip to content


How to install phpUnderControl on Windows

First install CruiseControl. (I wrote a post about it.)

 I pretty much followed this tutorial (for linux)...I also wrote a similar post on how to set it up to work But with Git on a linux Unbuntu server.

I will assume that you already have a working PHP environment…

Note:  You will need java jdk,  xdebug installed, very important! Run “php –m” in your command prompt to check if you have the module installed.

For the graphs we need the ezComponents Graph library, so from the command prompt run:

pear channel-discover components.ez.no
pear install -a ezc/Graph

Now we get to phpUnderControl itself:

  pear config-set preferred_state beta
  pear channel-discover pear.phpunit.de
  pear install --alldeps phpunit/phpUnderControl
  

phpUnderControl is still in beta, and by default PEAR does not install components in beta status, so we have to use config-set to make it install.

Now you can Configure CruiseControl for phpUnderControl by running the install script:

Assuming that you have your CruiseControl working installation in C:\CruiseControl you can run the following commands

phpuc install C:\CruiseControl 

Install the example project: (this is very important so you can have a base project)

phpuc example C:\CruiseControl

And that’s about it… Now you can follow the rest of my tutorial on configuring it or the original tutorial…
Cheers!

Note: I had some problems with the path in general since windows uses “\” and the web server uses “/”… considering this slashes issues while troubleshooting could be a time saver!

 

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

Posted in PHP, Programming, Web Development, unit-testing.

Tagged with , , , , , , .


One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Ricardo says

    Very difficult! I give up!



Some HTML is OK

or, reply to this post via trackback.

Notify me of follow-up comments via email.


Fork me on GitHub