Re: GnuPG, PHP and password file
| From: | paulf at quillandmouse dot com | Date: | Sat, 29 Oct 2022 20:45:50 +0000 |
| Subject: | Re: GnuPG, PHP and password file | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-328084@lists.php.net to get a copy of this message | ||
On Sat, 29 Oct 2022 18:06:06 +0000
Richard <inbound-lists-php@listmail.innovate.net> wrote:
>
>
>
> > From: paulf@quillandmouse.com
> > 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