Title: JSON extension not available · Issue #2 · stackery/php-lambda-layer · GitHub
Open Graph Title: JSON extension not available · Issue #2 · stackery/php-lambda-layer
X Title: JSON extension not available · Issue #2 · stackery/php-lambda-layer
Description: First off, thanks for the layer. Great stuff. I'm using your ARN as a layer in a function. Works well, but I'm not able to use the JSON extension. I see that it's supposed to be enabled, but it's tossing errors. I wrote a simple script t...
Open Graph Description: First off, thanks for the layer. Great stuff. I'm using your ARN as a layer in a function. Works well, but I'm not able to use the JSON extension. I see that it's supposed to be enabled, but it's t...
X Description: First off, thanks for the layer. Great stuff. I'm using your ARN as a layer in a function. Works well, but I'm not able to use the JSON extension. I see that it's supposed to be enabled...
Opengraph URL: https://github.com/stackery/php-lambda-layer/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"JSON extension not available","articleBody":"First off, thanks for the layer. Great stuff. I'm using your ARN as a layer in a function. Works well, but I'm not able to use the JSON extension. I see that it's supposed to be enabled, but it's tossing errors.\r\n\r\nI wrote a simple script to dump the config and the json extension is not there:\r\n```\r\n\u003c?php \r\n$output = [];\r\n$output['version'] = phpversion();\r\n$output['extensions'] = get_loaded_extensions( false );\r\n\r\nif (function_exists('json_encode') ){\r\n header('Content-Type: application/json');\r\n echo json_encode( $output );\r\n} else {\r\n var_dump( $output );\r\n}\r\n?\u003e\r\n```\r\n\r\nHere's the output:\r\n```\r\narray(2) { [\"version\"]=\u003e string(5) \"7.1.7\" [\"extensions\"]=\u003e array(15) { [0]=\u003e string(4) \"Core\" [1]=\u003e string(4) \"date\" [2]=\u003e string(6) \"libxml\" [3]=\u003e string(7) \"openssl\" [4]=\u003e string(4) \"pcre\" [5]=\u003e string(4) \"zlib\" [6]=\u003e string(6) \"filter\" [7]=\u003e string(4) \"hash\" [8]=\u003e string(5) \"pcntl\" [9]=\u003e string(8) \"readline\" [10]=\u003e string(10) \"Reflection\" [11]=\u003e string(3) \"SPL\" [12]=\u003e string(7) \"session\" [13]=\u003e string(8) \"standard\" [14]=\u003e string(10) \"cli_server\" } }\r\n```\r\n\r\nYou can see the live config readout here:\r\nhttps://twp4slm6ji.execute-api.us-east-1.amazonaws.com/beta\r\n\r\n","author":{"url":"https://github.com/colinpizarek","@type":"Person","name":"colinpizarek"},"datePublished":"2018-11-30T22:01:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/2/php-lambda-layer/issues/2"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fb56ddfe-1040-acb4-6f0a-9a45ded47efe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE32:2C23AD:342344F:442826E:697D7EC7 |
| html-safe-nonce | bf89b84e7a885ecb2aca4df925282af099eca1c1feae8e57b4f1156b0dd8297e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTMyOjJDMjNBRDozNDIzNDRGOjQ0MjgyNkU6Njk3RDdFQzciLCJ2aXNpdG9yX2lkIjoiMzUzNzY5NTQ3ODkzNjA3NTk3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1009e765bafae300b091119cb17a1aac6b7bbde98a019a2eb7036d7e5577defc |
| hovercard-subject-tag | issue:386366710 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stackery/php-lambda-layer/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/966874fe6cf099a87f8f6f20f99e6a0e601a904ebadf0bb280e33d293e654c52/stackery/php-lambda-layer/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/966874fe6cf099a87f8f6f20f99e6a0e601a904ebadf0bb280e33d293e654c52/stackery/php-lambda-layer/issues/2 |
| og:image:alt | First off, thanks for the layer. Great stuff. I'm using your ARN as a layer in a function. Works well, but I'm not able to use the JSON extension. I see that it's supposed to be enabled, but it's t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | colinpizarek |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/stackery/php-lambda-layer git https://github.com/stackery/php-lambda-layer.git |
| octolytics-dimension-user_id | 25157813 |
| octolytics-dimension-user_login | stackery |
| octolytics-dimension-repository_id | 156885130 |
| octolytics-dimension-repository_nwo | stackery/php-lambda-layer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 156885130 |
| octolytics-dimension-repository_network_root_nwo | stackery/php-lambda-layer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width