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

2003/10/28 [Computer/SW/Languages/Web] UID:10826 Activity:moderate
10/28   Any tips on using php on csua?  I get "end of script headers"
        server error when I try to incorporate php into my html file on
        csua, do I need to put some other path or something in? (anyone
        have a template or simple script they can point me to?) Thanks!
        \_ judging from the logs, i think Soda's suexec+php setup
           is screwy and doesn't work, mail root?
        \_ man www
              PHP scripts are processed by Apache's cgi handler and  php
              if they have execute premissions and begin with this line:
              #!/usr/local/bin/php
              if they have execute premissions and begin with this line:
              #!/usr/local/bin/php
        \_ http://www.csua.berkeley.edu/~danh/phpinfo.php works
           \_ Thanks - I had assumed it was loaded as a module... -OP
Cache (281 bytes)
www.csua.berkeley.edu/~danh/phpinfo.php -> www.csua.berkeley.edu/%7Edanh/phpinfo.php
PHP License This program is free software; PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.