Right, I'm not sure whether this is just an absolutely crazy idea but I'm trying to use Phing and PHPUnit on a project but the web server I have them installed on is shared hosting :( and I can't access the command line as the host doesn't allow it.
I want to play around with PHPUnit first, and I know you can implement it through Phing. So looking at the Phing executable it just runs the phing.php file in the PEAR directory.
What would be the best way around the no CLI? I had a crazy thought about creating a web script that would convert form input parameters into command line arguments and then call the phing.php, but I have very little idea how to hand the CLI output streams?
Question
AoM_Scott
Right, I'm not sure whether this is just an absolutely crazy idea but I'm trying to use Phing and PHPUnit on a project but the web server I have them installed on is shared hosting :( and I can't access the command line as the host doesn't allow it.
I want to play around with PHPUnit first, and I know you can implement it through Phing. So looking at the Phing executable it just runs the phing.php file in the PEAR directory.
What would be the best way around the no CLI? I had a crazy thought about creating a web script that would convert form input parameters into command line arguments and then call the phing.php, but I have very little idea how to hand the CLI output streams?
Any ideas?
Thanks
Link to comment
Share on other sites
5 answers to this question
Recommended Posts