Re: PHP shell scripting not working right?
| From: | Marco Tabini | Date: | Mon, 16 Dec 2002 14:46:38 +0000 |
| Subject: | Re: PHP shell scripting not working right? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128405@lists.php.net to get a copy of this message | ||
In Unix you need to specify the working folder when you are launching an
executable, otherwise Bash will try to look into its search path, which
does not include the current folder. Try:
./test.php
That should work. BTW--running "test" by itself only *looks* like
hitting enter--it's really a valid command. Try man test for more info.
Cheers,
Marco
--
------------
php|architect - The Magazine for PHP Professionals
The monthly magazine dedicated to the world of PHP programming
Check us out on the web at http://www.phparch.com!