Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Delta: The kids will love our inflatable slides. -- David Letterman


devel / comp.lang.php / php.ini: expand tilde char

SubjectAuthor
* php.ini: expand tilde charFx ROOM
`* Re: php.ini: expand tilde charJ.O. Aho
 `- Re: php.ini: expand tilde charFx ROOM

1
php.ini: expand tilde char

<t4ivcm$bsn$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=500&group=comp.lang.php#500

  copy link   Newsgroups: comp.lang.php
Path: i2pn2.org!i2pn.org!aioe.org!w+D/xmqu84+FE/GBYQhrgw.user.46.165.242.91.POSTED!not-for-mail
From: naso@tata.new (Fx ROOM)
Newsgroups: comp.lang.php
Subject: php.ini: expand tilde char
Date: Sat, 30 Apr 2022 11:26:46 +0200
Organization: Aioe.org NNTP Server
Message-ID: <t4ivcm$bsn$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="12183"; posting-host="w+D/xmqu84+FE/GBYQhrgw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: it-IT
 by: Fx ROOM - Sat, 30 Apr 2022 09:26 UTC

$ grep error_log php.ini
error_log = ~/logs/error.log
$ php -i|grep error_log
error_log => -1 => -1

That's no good.
Solution?

$ grep error_log php.ini
error_log = %HOME%/logs/error.log
$ php -i|grep error_log
error_log => %HOME%/logs/error.log => %HOME%/logs/error.log

That's not good either.
Solution?

Re: php.ini: expand tilde char

<jd4esnFn5f3U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=501&group=comp.lang.php#501

  copy link   Newsgroups: comp.lang.php
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: user@example.net (J.O. Aho)
Newsgroups: comp.lang.php
Subject: Re: php.ini: expand tilde char
Date: Sat, 30 Apr 2022 11:47:02 +0200
Lines: 16
Message-ID: <jd4esnFn5f3U1@mid.individual.net>
References: <t4ivcm$bsn$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net ufXEp11kZaUcZUGosgCbCwglrJyefsuD0AN2ReqJpAhTPHbbTW
Cancel-Lock: sha1:yqOb+DP2Vqd4buFS2dl9CK5HDXs=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Content-Language: en-US-large
In-Reply-To: <t4ivcm$bsn$1@gioia.aioe.org>
 by: J.O. Aho - Sat, 30 Apr 2022 09:47 UTC

On 30/04/2022 11:26, Fx ROOM wrote:
> $ grep error_log php.ini
> error_log = ~/logs/error.log

Not sure php.ini will support file path substitutions in error_log, you
will also need to enable logging before php will log something
(log_errors = on). I think using a full path tends to work better.

Also you need to keep in mind that the php executing user needs that the
directory already exists, the user has write permission in the directory
and also has execution permission on all the directories from root to
the directory where to store the log file.

--

//Aho

Re: php.ini: expand tilde char

<t4j4gl$h11$2@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=502&group=comp.lang.php#502

  copy link   Newsgroups: comp.lang.php
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.org!aioe.org!w+D/xmqu84+FE/GBYQhrgw.user.46.165.242.91.POSTED!not-for-mail
From: naso@tata.new (Fx ROOM)
Newsgroups: comp.lang.php
Subject: Re: php.ini: expand tilde char
Date: Sat, 30 Apr 2022 12:54:13 +0200
Organization: Aioe.org NNTP Server
Message-ID: <t4j4gl$h11$2@gioia.aioe.org>
References: <t4ivcm$bsn$1@gioia.aioe.org> <jd4esnFn5f3U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="17441"; posting-host="w+D/xmqu84+FE/GBYQhrgw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: it-IT
 by: Fx ROOM - Sat, 30 Apr 2022 10:54 UTC

Il 30/04/22 11:47, J.O. Aho ha scritto:
> On 30/04/2022 11:26, Fx ROOM wrote:
>> $ grep error_log php.ini
>> error_log = ~/logs/error.log
>
> Not sure php.ini will support file path substitutions in error_log, you
> will also need to enable logging before php will log something
> (log_errors = on). I think using a full path tends to work better.
>
> Also you need to keep in mind that the php executing user needs that the
> directory already exists, the user has write permission in the directory
> and also has execution permission on all the directories from root to
> the directory where to store the log file.
>

thanks

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor