michal-kocarek / PhpOnWindows

Bridge to PHP installed in Bash on Ubuntu on Windows
MIT License
76 stars 15 forks source link

Support without Windows PHP installation #1

Open jaygridley opened 7 years ago

jaygridley commented 7 years ago

Hi,

it would be great if Windows PHP installation is not required. If you have Windows PHP installation, you can use it directly?

michal-kocarek commented 7 years ago

Hi, local PHP is needed to handle stuff around path mapping + to run the XDebug proxy mapping script.

However these responsibilities could be theoretically pushed down to the Linux PHP install. That way, the Windows batch script would need to replace paths, do proper escaping and pass command line to PHP process inside Ubuntu, that would handle all remaining stuff.