Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18932

Re: php.ini: expand tilde char

From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: php.ini: expand tilde char
Date 2022-04-30 11:47 +0200
Message-ID <jd4esnFn5f3U1@mid.individual.net> (permalink)
References <t4ivcm$bsn$1@gioia.aioe.org>

Show all headers | View raw


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

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

php.ini: expand tilde char Fx ROOM <naso@tata.new> - 2022-04-30 11:26 +0200
  Re: php.ini: expand tilde char "J.O. Aho" <user@example.net> - 2022-04-30 11:47 +0200
    Re: php.ini: expand tilde char Fx ROOM <naso@tata.new> - 2022-04-30 12:54 +0200
  Re: php.ini: expand tilde char Y A <yyyyyeeeee00000@writeme.com> - 2023-02-24 09:52 -0800
  Re: php.ini: expand tilde char Ezimene nimi Teine nimi <techfan55555@hotmail.com> - 2023-03-06 03:26 -0800
    Re: php.ini: expand tilde char The Doctor <doctor@doctor.nl2k.ab.ca> - 2023-03-06 16:23 +0000

csiph-web