[OpenAFS] AFS && Apache
Todd M. Lewis
Todd_Lewis@unc.edu
Thu, 16 May 2002 15:10:40 -0400
Cees de Groot wrote:
>
> Todd M. Lewis <utoddl@email.unc.edu> said:
> >Time will tell how good our solution is, but here's how we're
> >implementing general user level CGI support for our AFS users.
> >
> Looks good. Now they want to run php...
Clearly php would be more efficient as a server module, but it can be
run stand-alone. Look at http://www.unc.edu/usr-bin/sbraswe1/test.php
to see how we built it to be run under this technique. You just have to
start your php file with the classic #!/path/to/php -- just like Perl or
any other sensible language. The entire test.php script is:
> #!/afs/isis.unc.edu/pkg/php/bin/php
>
> <?
>
> phpinfo();
>
> ?>
Happy computing,
--
+----------------------------------------------------------------+
/ Todd_Lewis@unc.edu http://www.unc.edu/~utoddl /
/(919) 962-5273 Linux - It's now safe to turn on your computer. /
+----------------------------------------------------------------+