Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Call to undefined function json_encode() #47

Open
treii28 opened this issue Jul 29, 2019 · 0 comments
Open

Call to undefined function json_encode() #47

treii28 opened this issue Jul 29, 2019 · 0 comments

Comments

@treii28
Copy link

treii28 commented Jul 29, 2019

Fatal error: Uncaught Error: Call to undefined function json_encode() in /var/task/index.php:17

I added a php.ini to the root of my function as the (vague) instructions suggest.
I added extension_dir=/opt/lib/php/7.3/modules as ticket #2 suggests

Same error

php.ini contents:

extension_dir=/opt/lib/php/7.3/modules
extension=json.so

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant