Usually, when I want to run a php script from the command line, I just create a php page, add a shebang pointing to the php binary, then. /file.php to run it. Since I have php installed as an apache module, I donβt even know what my shebang should look like. Any ideas?
source
share