Problems with JSON and PHP

Mark Moellering markmoellering at psyberation.com
Fri Feb 1 15:36:45 UTC 2019


On Fri, Feb 1, 2019 at 10:31 AM <freebsd at boosten.org> wrote:

>
> >>
> >
> > There you go, injecting logic.  The only other thing I can think of is
> > check the FPM php.ini file.  What happens if you try a simple json_encode
> > of a string?  Try the simplest call first, then go on from there.
> > _______________________________________________
>
> The only thing I can think of is that his web server uses a different
> php.ini then the command line.
> The web server cannot find the json module.
>
> Peter
>
>
Sorry, should have been more clear.  Yes, the command line and web server
uses different php.ini files.  usually, the command line file is in a
folder marked cli and the web server file is in one marked fpm

-- Mark


More information about the freebsd-questions mailing list