Yeah try the treehouse put it in your script method if you can't find the
right php.ini or its not sticking.

On Sunday, August 14, 2016, Tyrell Jentink <tyr...@jentink.net> wrote:

>

> **OOPS!**
>
> I was shooting from the hip and from memory...  And got a couple of things
> wrong :/
>
> First... You declare the constant in php.ini, you declare the function in
> the PHP script itself :/ Both were identified in the link I provided, but
I
> was misquoting the details.
>
> If I understand it correctly (I'm now second guessing myself :/ ), these
> achieve a similar goal, but my method has one major shortcoming: It
doesn't
> catch errors in compiling. In my quick and dirty tests, I couldn't get the
> function method to work for anything but the most simple errors...  It
> MIGHT work in your case, because it appears to be compiling just fine...
> But for AT LEAST this reason, my method is inferior to Nat's proposal.
>
> Therefore, I would suggest digging deeper into WHY Nat's method didn't
work
> (It should have spit out a bunch of text right at the top of the web
> page).  I had a problem with one of Fedora boxes once where there were
> several different PHP.ini files on the system, and only one of them was
> actually getting used...  I don't remember what the solution was there,
but
> it doesn't seem you are using Fedora anyway, so I guess my point is to
> check for multiple locations of that file, and see if that gets you
> anywhere.
>
> http://docs.slackware.com/howtos:network_services:setup_apache_php_mysql
<http://docs.slackware.com/howtos:network_services:setup_apache_php_mysql>
> says it's supposed to be in /etc/httpd/php.ini. Is that the one you were
> working with?
>
> On Sun, Aug 14, 2016 at 4:59 PM, Rich Shepard <rshep...@appl-ecosys.com>
> wrote:
>
> > On Sun, 14 Aug 2016, Tyrell Jentink, KD7KUJ wrote:
> >
> > > PHP Error Reporting Mode gets enabled one of two ways, either in the
PHP
> > > Configuration itself, which is global, or in the initially called PHP
> > > file, which if I've been keeping up, is install.php in your case. You
> > will
> > > simply define a constant at the top of the file, with the error
reporting
> > > level, and everything run after that point will be reported to the
> > > browser.
> >
> > Tyrell,
> >
> >    Following Nat's suggestions I implemented (by uncommenting) lines in
> > /etc/httpd/php.ini. Cannnot find any output so I'll check the URL he
> > provided.
> >
> > Thanks,
> >
> > Rich
> > _______________________________________________
> > PLUG mailing list
> > PLUG@lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> _______________________________________________
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
<http://lists.pdxlinux.org/mailman/listinfo/plug>
_______________________________________________
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to