PHP Warning: Module already loaded in Unknown on line 0

前端 未结 15 1295
抹茶落季
抹茶落季 2020-11-27 16:38

On Mac OSX Mavericks using homebrew php55 whenever I run a a php command I get the following error message (everything runs fine it\'s just annoying)

PHP War         


        
15条回答
  •  孤街浪徒
    2020-11-27 17:30

    I had a similar problem, the problem was that the extension intl was duplicated.

    You can check in file C:/xampp/php/php.ini and find "intl". In my case extension=intl is already present and I scrolled again and found a second intl "extension=php_intl.dll".

    The extension must one to execution can't execution extension intl again. This will show error like this "Module 'intl' already loaded".

    I fixed it by commenting out extension=php_intl.dll using ";" like this ;extension=php_intl.dll. and restarted the apache service.

提交回复
热议问题