stackery / php-lambda-layer

PHP Runtime Layer for AWS Lambda
Other
321 stars 71 forks source link

PHP JSON EXTENSION IS MISSING #57

Open iamsajidjaved opened 5 years ago

iamsajidjaved commented 5 years ago

image

Seeing this error. I followed the documentation and created php.ini at the root of my function package with: extension=json.so

But still facing same issue. Can anyone tell me why I'm seeing this?

txase commented 5 years ago

It looks to me like this is looking for a json_decode() function provided by the Illuminate Foundation module, not the base PHP json module. Do you need to add the Illuminate Foundation module extension to your php.ini file?

iamsajidjaved commented 5 years ago

@txase I don't think so. It's because of missing extension. phpinfo() also doesn't show the json extension.

iamsajidjaved commented 5 years ago

@txase where is the old ARN php7.3? that was working fine