Berkeley CSUA MOTD:Entry 26580
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/11/23 [General] UID:1000 Activity:popular
11/23   

2002/11/20 [Computer/SW/Languages/Web] UID:26580 Activity:nil
11/19   can we turn on php support on the webserver please?
        \_ Note that using mod_php on a multiuser system could
           introduce some awkward security issues. Why not just
           execute PHP scripts as CGIs? -!root
           \_ sure! how do i do that
             \_ Someone needs to install the php interpreter on soda and it
                better be compiled with --enable-discard-path or it might not
                work well for CGIs. -!root
                \_ After looking at the ports collection, doing
                   "cd /usr/ports/lang/php4 && make install"
                   should probably do it.
                   \_ Done.  --root
                      \_ I'm still getting <?phpinfo()?> as the result of
                         my test.php - should I rename the file something else
                         or have it in a different dir?