info:run_php_as_a_cgi

Ceci est une ancienne révision du document !


run php as a cgi - Pour utiliser php comme un shell-scripting (cgi)

exemple: file test.php

first create file:

touch test.php
chmod 755 test.php

vi test.php

#! /usr/bin/php
<?php
echo phpinfo();
?>

then run ./test.php

  • info/run_php_as_a_cgi.1531899974.txt.gz
  • Dernière modification : 2018/07/18 09:46
  • de radeff