PHP: No php.ini file

前端 未结 4 868
醉话见心
醉话见心 2021-02-08 08:43

I just started to learn PHP and in order to do that I installed wampserver on my windows 8.1. When I try to launch, it works properly but I have two problems:

1) I have

4条回答
  •  甜味超标
    2021-02-08 09:28

    after installation of php you must rename file php-production.ini to php.ini. Those files in your root php directory installed.

    For mbstring you must enable this extension. For that you must uncomment the line in your php.ini file (renamed just before) :

    ;extension = php_mbstring.dll
    

    Check if you have this line in your php.ini :

    [mbstring] 
    mbstring.language = all 
    mbstring.internal_encoding = UTF-8 
    mbstring.http_input = auto 
    mbstring.http_output = UTF-8 
    mbstring.encoding_translation = On 
    mbstring.detect_order = UTF-8 
    mbstring.substitute_character = none; 
    mbstring.func_overload = 0 
    mbstring.strict_encoding = Off
    

提交回复
热议问题