From owner-freebsd-questions Tue Aug 20 23:37:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37EF137B433 for ; Tue, 20 Aug 2002 23:37:11 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id DD69F43E6A for ; Tue, 20 Aug 2002 23:37:09 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 20845 invoked from network); 21 Aug 2002 06:37:02 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 21 Aug 2002 06:37:02 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 95F24A7; Wed, 21 Aug 2002 08:36:56 +0200 (CEST) Date: Wed, 21 Aug 2002 08:36:56 +0200 From: Roman Neuhauser To: Mike Sturdee Cc: freebsd-questions@freebsd.org Subject: Re: Standalone PHP Message-ID: <20020821063656.GC21595@freepuppy.bellavista.cz> Mail-Followup-To: Mike Sturdee , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Tue, 20 Aug 2002 19:27:15 -0400 (EDT) > From: Mike Sturdee > To: freebsd-questions@freebsd.org > Subject: Standalone PHP > > 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 does it actually build the CGI SAPI with -DSTANDALONE? isn't it the CLI version? -- FreeBSD 4.6-STABLE 8:36AM up 14:28, 7 users, load averages: 0.00, 0.00, 0.00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message