PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so'

前端 未结 6 1317
广开言路
广开言路 2021-01-05 11:19

I am trying to update laravel using composer update on ubuntu 06.04 but everytime i run composer update this warning always comes up.

PHP Warnin         


        
6条回答
  •  自闭症患者
    2021-01-05 12:15

    Also, if you're using php 7.2 & are getting this error and you know do not want/need mcrypt, but do not know how to exclude it.... You need edit your php.ini file and either comment this out by using a semi-colon in front of it:

    ; extension=mcrypt.so
    

    or just delete that line entirely.

提交回复
热议问题