質問編集履歴

2

誤字

2018/01/29 08:09

投稿

kazoogon
kazoogon

スコア281

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- 多言語対応をする際にlocal_accept_from_http()関数を使用、しかしCall to undefined function App\Http\Middleware\locale_accept_from_http()とのエラー
5
+ 多言語対応をする際にlocale_accept_from_http()関数を使用、しかしCall to undefined function App\Http\Middleware\locale_accept_from_http()とのエラー
6
6
 
7
7
   →国際化用拡張モジュール(intl)を有効にしなければならない
8
8
 

1

/etc/php5/apache2/php.iniのコード追記

2018/01/29 08:09

投稿

kazoogon
kazoogon

スコア281

test CHANGED
File without changes
test CHANGED
@@ -19,3 +19,23 @@
19
19
  この記述を一体php.iniのどこに記述すれば良いのか、また根本的に何か違うのかおしえていただければありがたいです。
20
20
 
21
21
  よろしくお願い致します。。
22
+
23
+
24
+
25
+ 「追記 : /etc/php5/apache2/php.iniより抜粋」
26
+
27
+ ```
28
+
29
+ [intl]
30
+
31
+ ;intl.default_locale =
32
+
33
+ ; This directive allows you to produce PHP errors when some error
34
+
35
+ ; happens within intl functions. The value is the level of the error produced.
36
+
37
+ ; Default is 0, which does not produce any errors.
38
+
39
+ ;intl.error_level = E_WARNING
40
+
41
+ ```