PHP warning : Module 'mcrypt' already loaded

后端 未结 4 1365
失恋的感觉
失恋的感觉 2021-02-12 18:03

When I run a command with PHP, it shows me an error. E.g when I run php -v to see my PHP-version it shows me an error then the informations about PHP:

4条回答
  •  无人及你
    2021-02-12 18:50

    I had the same issue and it was due to building PHP from source with ./configure --with-mcrypt option. It seems that if PHP is built with the --with-mcrypt flag, then there is no need to specify extension=mcrypt.so in php.ini. Doing so causes the warning mentioned above.

提交回复
热议问题