Tag: php shell

  • How to run php script in shell

    If you want to run php script in shell, simply put the following line at the beginning of your php file. #!/path/to/php #!/path/to/php is the path you installed php in linux. If you don’t know where php is installed in your linux. Type the following command which php This will output the php path from…