PHP: ターミナルからPHPを実行してみるby UNIVERSAL TREEin Kackey Art Workon Posted on 2013/12/162014/03/16 例えば/home/user/ディレクトリに index.phpを作成。 その場所まで移動。 $ cd /home/user/ 以下のコマンドで実行されます。 $ php index.php