Re: Php CLI Parser not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Brown wrote:
On Tue, Jul 29, 2008 at 2:19 PM, JJB <onephatcat@xxxxxxxxxxxxx> wrote:
We recently rebuilt a webserver and upgraded it to opensuse 10.3.
Now, when our webdev people run command line php scripts all of the
included files are being output to the terminal instead of parsed.

    How are the scripts being run from the CLI?  As shell scripts with
this as the following line:

#!/path/to/php

    -or-

#!/bin/env php

    .... or by using the command 'php script.php' from the command line?


    What do you see when, from the command line, you issue the command
'php -v' ?


Hi Daniel,

We are running like:
php mailscript.php

The version:

php-v

PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Dec 12 2007 03:51:56)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux