[BUGFIX] No endless recursion on a missing CLI PHP binary
[BUGFIX] No endless recursion on a missing CLI PHP binary

If a wrong path has been specified or a PHP binary is used which
does not support CLI, FLOW3 could end up in an endless recursion
on executing the compile sub command.

This change set adds a check for the proper SAPI type in FLOW3's
command line script.

Change-Id: I1b0bb6e451acb60512cd1820fda1e26a5c261e04
Fixes: #30633
Original-Commit-Hash: a7da3409cb3173d17fcabae5c5cc0c10911f0672

aertmann/flow-development-collection,albe/flow-development-collection,aertmann/flow-development-collection,kdambekalns/flow-development-collection,bwaidelich/flow-development-collection,kitsunet/flow-development-collection,kdambekalns/flow-development-collection,aertmann/flow-development-collection,bwaidelich/flow-development-collection,bwaidelich/flow-development-collection,robertlemke/flow-development-collection,kitsunet/flow-development-collection,neos/flow-development-collection,gerhard-boden/flow-development-collection,dlubitz/flow-development-collection,chewbakartik/flow-development-collection,dlubitz/flow-development-collection,dfeyer/flow-development-collection,neos/flow-development-collection,gerhard-boden/flow-development-collection,robertlemke/flow-development-collection,chewbakartik/flow-development-collection,dfeyer/flow-development-collection,daniellienert/flow-development-collection,daniellienert/flow-development-collection,fcool/flow-development-collection,dlubitz/flow-development-collection,chewbakartik/flow-development-collection,daniellienert/flow-development-collection,neos/flow-development-collection,kdambekalns/flow-development-collection,kitsunet/flow-development-collection,gerhard-boden/flow-development-collection,mkeitsch/flow-development-collection,dfeyer/flow-development-collection,robertlemke/flow-development-collection,albe/flow-development-collection,fcool/flow-development-collection,neos/flow-development-collection,albe/flow-development-collection,robertlemke/flow-development-collection,fcool/flow-development-collection,mkeitsch/flow-development-collection,dfeyer/flow-development-collection,fcool/flow-development-collection,mkeitsch/flow-development-collection,kdambekalns/flow-development-collection