From: Moonhawk K. <moo...@st...> - 2003-10-10 00:29:38
|
Hi, I'm having trouble getting the application to run propoerly on the Stanford University server. Here is a step by step description: First, I simply download a copy of phpicalendar-0,9.4, expand it and copy the entire folder to my CGI folder. At Stanford university, members are given CGI-BIN directories that are separate from the web (WWW) directories. The absolute path to the CGI directory is: /afs/ir/users/m/o/moonhawk/cgi-bin/ The web path is: http://cgi.stanford.edu/~moonhawk/cgi-bin/ After copying over the phpicalendar-0.9.4 folder, typing in the following URL (which I know is to be correct): http://cgi.stanford.edu/~moonhawk/cgi-bin/phpicalendar-0.9.4/ results in the following error message: The sbox program encountered an error while processing this request. Couldn't find a valid script to execute in /chroot/afs/ir.stanford.edu/users/m/o/moonhawk/cgi-bin/phpicalendar-0.9.4/ sbox version 2.00 Second, typing in the following: http://cgi.stanford.edu/~moonhawk/cgi-bin/phpicalendar-0.9.4/index.php gives me the following error message: Script must be readable and executable by owner: /chroot/afs/ir.stanford.edu/users/m/o/moonhawk/cgi-bin/phpicalendar-0.9.4/index.php Third, issuing "chmod a+rx *.php" within the phpicalendar-0.9.4 directory to make the files executable and accessing the following URL: http://cgi.stanford.edu/~moonhawk/cgi-bin/phpicalendar-0.9.4/index.php results in the following error message: exec of /afs/ir.stanford.edu/users/m/o/moonhawk/cgi-bin/phpicalendar-0.9.4/index.php failed (Exec format error) The server is a SUN Solaris 8 running php 4.3.1 according to: http://www.stanford.edu/services/cgi/ Is phpicalendar only designed for Mac OS X? Or am I doing something wrong. It really looks like a great set of scripts. I would very much appreciate your help! Moonhawk Fiat Lux, Fiat Pax, Fiat Justitia Moonhawk KIM Ph.D. Candidate Dept of Political Science Stanford University Stanford, CA 94305-6044 www.stanford.edu/~moonhawk |