From: Waitman C. G. I. <wa...@em...> - 2003-10-15 01:12:30
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, Did you make sure to include the #!/usr/bin/php on the first line? This needs to be _before_ the <?php Ex: !#/usr/bin/php <?php //php code ?> (just guessing that is where php is, might be /usr/local/bin/php or something else. - If you can ssh try "which php" or hunt around for it. Otherwise contact sys admin for location) Take care, Waitman Gobble EMK Design Telephone (714) 522-2528 Toll Free (877) 290-2768 http://emkdesign.com ....................................... - -----Original Message----- From: wai...@ma... [mailto:wai...@ma...] On Behalf Of Moonhawk Kim Sent: Thursday, October 09, 2003 5:30 PM To: php...@li... Subject: [Waitman] [PHPiCalendar-DEV] Installation Problems 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/ind ex.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 - ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Phpicalendar-devel mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel -----BEGIN PGP SIGNATURE----- Version: PGP 8.0.2 iQA/AwUBP4ye8vhva8X77el2EQLVbwCg4Dhsc/Nwn0R8T8iC4+YJLPU2YuoAoKLI daG06OoHYYKV3P0gKvMoKGgz =xIFb -----END PGP SIGNATURE----- |