Re: GnuPG, PHP and password file

[email protected]
Newsgroups php.general
Message-ID <[email protected]>
On Sat, 29 Oct 2022 18:06:06 +0000
Richard <[email protected]> wrote:

> 
> 
> 
> > From: [email protected]
> > Sent: October 29, 2022 5:14:14 PM UTC
> 
> >>  On Sat, 29 Oct 2022 16:24:57 +0000
> >> Richard wrote:
> 
> >> 
> >> Turn on PHP error reporting:
> >> 
> >><https://www.php.net/manual/en/language.errors.basics.php>
> 
> > Added error_reporting(E_ALL); at the top of the file.
> >
> > No errors reported in /var/log/apache2/error.log.
> 
> Look at the sections on that page that explain displaying and logging
> [php] errors.

I wrote an include file, 155 lines, years ago, to take care of this. It
reports errors, etc. to a php.log file. I've used it in virtually all
my projects for years. My prior statement about adding
"error_reporting(E_ALL)" was shorthand for me pasting this onto the
beginning of the file. The result was as I described-- no errors.

Paul

-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.