0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

AWS Lambda + bref + php で IntlDateFormatter が Not Found になってしまう

Posted at

起こったこと

Lambda + bref/bref + php で IntlDateFormatter がエラーになってしまいました。

PHP Fatal error: Uncaught Error: Class 'IntlDateFormatter'

対応方法

マニュアルをよく読む。

プロジェクトに、ファイル php/conf.d/php.ini を追加して、以下の内容にする。

$ cd bref-project-dir
$ mkdir -p php/conf.d
$ vi php/conf.d/php.ini

ファイルの内容は以下。

extension=intl

これで再度デプロイすればOK。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?