From owner-freebsd-questions@freebsd.org Fri Feb 1 15:31:59 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3618214B712F for ; Fri, 1 Feb 2019 15:31:59 +0000 (UTC) (envelope-from freebsd@boosten.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 910646D4B5 for ; Fri, 1 Feb 2019 15:31:58 +0000 (UTC) (envelope-from freebsd@boosten.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5007314B712E; Fri, 1 Feb 2019 15:31:58 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E3DD14B712D for ; Fri, 1 Feb 2019 15:31:58 +0000 (UTC) (envelope-from freebsd@boosten.org) Received: from smtpq1.mnd.mail.iss.as9143.net (smtpq1.mnd.mail.iss.as9143.net [212.54.34.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CD5096D4B4 for ; Fri, 1 Feb 2019 15:31:57 +0000 (UTC) (envelope-from freebsd@boosten.org) Received: from [212.54.34.119] (helo=smtp11.mnd.mail.iss.as9143.net) by smtpq1.mnd.mail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1gpanM-0003vl-Fh; Fri, 01 Feb 2019 16:31:56 +0100 Received: from 5419f71f.cm-5-2d.dynamic.ziggo.nl ([84.25.247.31] helo=ra.boosten.org) by smtp11.mnd.mail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1gpanM-00078M-EG; Fri, 01 Feb 2019 16:31:56 +0100 Received: from anubis.boosten.org (anubis.boosten.org [192.168.13.33]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ra.boosten.org (Postfix) with ESMTPSA id 03B2E3432F71; Fri, 1 Feb 2019 16:31:55 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Problems with JSON and PHP From: freebsd@boosten.org In-Reply-To: Date: Fri, 1 Feb 2019 16:31:54 +0100 Cc: questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <843A5A40-1344-42C0-97D8-D316D89CCCB1@boosten.org> References: To: Mark Moellering X-Mailer: Apple Mail (2.3124) X-SourceIP: 84.25.247.31 X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.3 cv=CpfBjUwD c=1 sm=1 tr=0 a=JWBJsaPp29SgP5DpYRBqZw==:17 a=kj9zAlcOel0A:10 a=CFTnQlWoA9kA:10 a=hk4XFtf-kw-B4YZjUV8A:9 a=CjuIK1q_8ugA:10 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-Rspamd-Queue-Id: CD5096D4B4 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.991,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2019 15:31:59 -0000 >>=20 >=20 > 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