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.txt · Dernière modification: 2008/11/11 11:37 (modification externe)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki