need help with php.
Gary Kline
kline at thought.org
Wed Oct 20 20:34:10 UTC 2010
On Wed, Oct 20, 2010 at 04:16:54PM -0400, Brad Mettee wrote:
> Gary Kline wrote:
> >On Wed, Oct 20, 2010 at 01:14:27PM -0500, Ryan Coleman wrote:
> >>That's if someone messed up the original CSR, IMO, or didn't get the ServerName directive just right.
> >>
> >
> >
> > --I don't know what the snag is, but even 5.2 fails. php execs;
> > it just doesn't do anything. I built the test.php with
> >
> > <? phpinfo(); ?>
> >
> > and zip. Scrreen is blank. Let me try konqueror; maybe I don't
> > have something turned on it firfox3.
> >
> > gary
> Try using "<?php" as your beginning tag.
Yeah, been doing that. As a CLI guy, that's preferred:)
I'll cutpaste. You tell me. [[this is with 5.2... ]]
root at ethic:/usr/local/www/apache22/data# <?
Invalid null command.
root at ethic:/usr/local/www/apache22/data# <? echo "hi" ?>
Missing name for redirect.
root at ethic:/usr/local/www/apache22/data# php ./test.php
<? phpinfo(); ?>
root at ethic:/usr/local/www/apache22/data#
Hm. php aimed at "./test.php" just catenates the file. Does
that tell you anything?
>
> You can also try running "php test.php" from a shell and see if you
> get anything back.
>
> What does "php -v" return?
>
Good one: never thought-of.
root at ethic:/usr/local/www/apache22/data# php -v
PHP 5.2.14 with Suhosin-Patch 0.9.7 (cli) (built: Oct 20 2010
11:06:21) (DEBUG)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
root at ethic:/usr/local/www/apache22/data#
I built this before going to grab some coffee; then added the
debug, etc. This still tells me nothing. You? Anybody??
gary
>
--
Gary Kline kline at thought.org http://www.thought.org Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
http://journey.thought.org
More information about the freebsd-questions
mailing list