[PHP] [Solved] Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Jochem Maas
hi Duncan, the disk the home dirs are situated on (where the script was living) was indeed mounted as noexec. THANK YOU for saving me hours of mental torture (and teaching me something in the process), thanks to everyone else for giving their time/energy. kind regards, Jochem Duncan Hill wrote:

Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Stut
Jochem Maas wrote: I wish it was the line endings - I checked and they where unix-style. I do edit on windows normally (unless it's some rush fix and then I'll use vi or nano) but I have the line-endings set to unix. vi gave no sign of a ^M and I rewrote the shebang there just to be safe. alas

Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Duncan Hill
On Monday 07 August 2006 09:11, Jochem Maas wrote: > hi Robert, > > thanks for thinking with me If the FS permissions to the binary are correct, odds are the file system is actually mounted noexec. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Chris
Jochem Maas wrote: Chris wrote: Jochem Maas wrote: Robert Cummings wrote: On Mon, 2006-08-07 at 09:59 +0200, Jochem Maas wrote: I have a php shell script (the execute bit of the file is set) of which the first line is this: #!/usr/lib/php5/bin/php -q or this: #!/usr/bin/php -q or this: #

Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Sameer N Ingole
Jochem Maas wrote: I have a php shell script (the execute bit of the file is set) of which the first line is this: #!/usr/lib/php5/bin/php -q or this: #!/usr/bin/php -q or this: #!php -q in all cases I get the following error when I run (as root) the script: -bash: ./makemicrositeml: /usr

Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Jochem Maas
Chris wrote: > Jochem Maas wrote: >> Robert Cummings wrote: >>> On Mon, 2006-08-07 at 09:59 +0200, Jochem Maas wrote: I have a php shell script (the execute bit of the file is set) of which the first line is this: #!/usr/lib/php5/bin/php -q or this: #!/usr/bi

Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Chris
Jochem Maas wrote: Robert Cummings wrote: On Mon, 2006-08-07 at 09:59 +0200, Jochem Maas wrote: I have a php shell script (the execute bit of the file is set) of which the first line is this: #!/usr/lib/php5/bin/php -q or this: #!/usr/bin/php -q or this: #!php -q in all cases I get the f

Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Jochem Maas
Robert Cummings wrote: > On Mon, 2006-08-07 at 09:59 +0200, Jochem Maas wrote: >> I have a php shell script (the execute bit of the file is set) >> of which the first line is this: >> >> #!/usr/lib/php5/bin/php -q >> >> or this: >> >> #!/usr/bin/php -q >> >> or this: >> >> #!php -q >> >> >> in all

Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Jochem Maas
hi Robert, thanks for thinking with me Robert Cummings wrote: > On Mon, 2006-08-07 at 09:59 +0200, Jochem Maas wrote: >> I have a php shell script (the execute bit of the file is set) >> of which the first line is this: >> >> #!/usr/lib/php5/bin/php -q >> >> or this: >> >> #!/usr/bin/php -q

Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Chris
Jochem Maas wrote: I have a php shell script (the execute bit of the file is set) of which the first line is this: #!/usr/lib/php5/bin/php -q or this: #!/usr/bin/php -q or this: #!php -q in all cases I get the following error when I run (as root) the script: -bash: ./makemicrositeml: /usr

Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Jochem Maas
hi Stut, I wish it was the line endings - I checked and they where unix-style. I do edit on windows normally (unless it's some rush fix and then I'll use vi or nano) but I have the line-endings set to unix. vi gave no sign of a ^M and I rewrote the shebang there just to be safe. alas no joy. St

Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Stut
Jochem Maas wrote: I have a php shell script (the execute bit of the file is set) of which the first line is this: #!/usr/lib/php5/bin/php -q or this: #!/usr/bin/php -q or this: #!php -q in all cases I get the following error when I run (as root) the script: -bash: ./makemicrositeml: /usr

Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Jochem Maas
hi Chris, Chris wrote: > Jochem Maas wrote: >> I have a php shell script (the execute bit of the file is set) >> of which the first line is this: >> >> #!/usr/lib/php5/bin/php -q >> >> or this: >> >> #!/usr/bin/php -q >> >> or this: >> >> #!php -q >> >> >> in all cases I get the following error wh

Re: [PHP] shebang line drive me nuts.

2006-08-07 Thread Robert Cummings
On Mon, 2006-08-07 at 09:59 +0200, Jochem Maas wrote: > I have a php shell script (the execute bit of the file is set) > of which the first line is this: > > #!/usr/lib/php5/bin/php -q > > or this: > > #!/usr/bin/php -q > > or this: > > #!php -q > > > in all cases I get the following error w