So, I have that question. I've installed xampp on my ubuntu, and I run my web system from there ( /opt/lampp/htdocs
). I can open my php web systems from navigator with no troubles. So now I want to run a php script from linux console, like this:
php -f file.php
but ubuntu tells me to install php7.0-cli or hhvm packages to run a php script on console. The real question is, that I've installed lampp running php there. Is there any chance to run a php script on console with the lampp's php service? or I have to install those packages for ubuntu anyway?