Re: Php CLI Parser not working
| From: | JJB | Date: | Wed, 30 Jul 2008 20:53:27 +0000 |
| Subject: | Re: Php CLI Parser not working | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277496@lists.php.net to get a copy of this message | ||
Daniel Brown wrote:
On Tue, Jul 29, 2008 at 2:19 PM, JJB <onephatcat@earthlink.net> wrote: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 TechnologiesWe 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' ?