I was also thinking of doing this a while back, have you checked out this site: http://www.powershelltoys.com/powershellasp.aspx
They integrate powershell into ASP, looks like the easiest method to me. Sorry haven't tried executing from PHP.
If you found this information useful, please consider awarding points for Correct or Helpful.
Alan Renouf
Blog: http://virtu-al.net
Twitter: http://twitter.com/alanrenouf
Co-author of the PowerCLI Book: http://powerclibook.com