通常PHPスクリプトはブラウザから
http://***/test.php
とアクセスする事により実行しますが、バッチ処理等でPHPスクリプトをコマンドラインからサクッと実行したい事があります。
その場合には、
TeraTermを起動し
php {対象スクリプト}
php execute_hoge.php
と入力しEnterを押せば完了します。
実に簡単です。
We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.