Is there a way from a bash script and / or terminal to run php interactively and upload to a predefined file at the same time?
Essentially, I want to take the following two steps in one step:
shell
I tried using php -a --file='ABSOLUTE_PATH_TO_FILE' , but the functions I want to load do not become available interactively.
source share