Some may also read the execve() linux man page.
It has hints about argument parsing and shebangs :)
http://linux.die.net/man/2/execve
Julien.P
2012/1/26 Ángel González
> On 26/01/12 11:35, Kiall Mac Innes wrote:
>
>> Surely you can detect which operating system you're running on, and have
>> P
On 26/01/12 11:35, Kiall Mac Innes wrote:
Surely you can detect which operating system you're running on, and have
PHP act accordingly?
(Note: on my phone, haven't read the link!)
Kiall
It's probably not reliable. Note that a simple and completely reliable
solution
would be instead of having
Surely you can detect which operating system you're running on, and have
PHP act accordingly?
(Note: on my phone, haven't read the link!)
Kiall
Sent from my mobile - Sorry for being short.
On Jan 26, 2012 10:08 a.m., wrote:
> Hi,
>
> from
>
> http://stackoverflow.com/questions/4303128/how-to-u
Hi,
from
http://stackoverflow.com/questions/4303128/how-to-use-multiple-arguments-with-a-shebang-i-e
1. Some operating systems simply treat the entire thing as the path.
After all, in most operating systems, whitespace or dashes
are legal in a
path.
2. Some operat
it has a length limit, if I remember correctly it is some reall short value
on linux.
it seems to be 127 character:
http://www.in-ulm.de/~mascheck/various/shebang/
2012/1/26 Clint M Priest
> I've never gotten -d in shebang to work properly, I'd love to see that
> working.
>
>
--
Ferenc Kovács
@
I've never gotten -d in shebang to work properly, I'd love to see that working.
-Original Message-
From: Ángel González [mailto:keis...@gmail.com]
Sent: Wednesday, January 25, 2012 6:00 PM
To: Robert Eisele
Cc: PHP internals
Subject: Re: [PHP-DEV] Shebang parsing
On 26/0
On 26/01/12 00:22, Robert Eisele wrote:
My specific problem could be tackled in two ways:
- Scan "." every time cli is called for a php.ini file or
- Try to make argv interpretation more intelligent and parse/merge shebang
parameters.
There are |.user.ini files, but only for CGI/FastCGI
http://e
Hi,
I currently work on a daemon implemented in PHP and as such, I want to keep
all configurations in place while the php binary can be used by other cli
scripts with the default /etc/php.ini file. I could recompile PHP and add a
new folder to the folder which is scanned for php.ini files. A bette