Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 19:27:15 -0400 (EDT)
From:      Mike Sturdee <sturdee@pathwaynet.com>
To:        freebsd-questions@freebsd.org
Subject:   Standalone PHP
Message-ID:  <Pine.LNX.4.21.0208201926500.6109-100000@uruguay.pathwaynet.com>

next in thread | raw e-mail | index | archive | help
I built mod_php4 from ports with STANDALONE=yes, and then copied
/usr/local/bin/php to php.cgi in the users www directory. Added the
appropriate Action & AddHandler lines to httpd.conf (or .htaccess), yet I
am
always greeted with the following errors.. The same php.cgi will parse a
PHP
script on the command line without a problem..



Warning: Unexpected character in input: ' in
/home/user/www.domain.com/php.cgi
on line 2990

Warning: Unexpected character in input: ' in
/home/user/www.domain.com/php.cgi
on line 2990

Warning: Unexpected character in input: '' (ASCII=20) state=1 in
/home/user/www.domain.com/php.cgi on line 2990

Warning: Unexpected character in input: '' (ASCII=7) state=1 in
/home/user/www.domain.com/php.cgi on line 2990

Warning: Unexpected character in input: '' (ASCII=8) state=1 in
/home/user/www.domain.com/php.cgi on line 2990
Parse error: parse error, unexpected T_LNUMBER in
/home/user/www.domain.com/php.cgi on line 2990


-- 
-Mike
Network Engineer
Pathway Internet Services
616.774.3131



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0208201926500.6109-100000>