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?
This is about the EU given consumers options, Apple is all about not giving options and locking you into its own services, this hurts Apple far more than it hurts the EU market because it makes Apple products look less appealing by Apple refusing to offer its own service because they have to give options to rivals, the end results are consumers might look at alternatives like Android.
It's a game Apple can't really win when there are alternatives and Apple will in time change course on this, until then, let Apple hurt themselves in the EU market.
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
https://www.neowin.net/forum/topic/882914-accessing-phingphpunit-on-shared-hosting/Share on other sites
5 answers to this question
Recommended Posts