php_ini not set to php.ini location

后端 未结 2 1083
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-20 09:32

I\'m trying to install MongoDB PHP Driver for XAMPP on OSX, and my terminal says the following:

configuration option \"php_ini\" is not set to php.ini location
         


        
2条回答
  •  故里飘歌
    2021-02-20 10:18

    If you are using XAMPP included pecl version, you should use following command on your cli:

    /Applications/XAMPP/bin/pecl config-set php_ini /Applications/XAMPP/etc/php.ini
    

提交回复
热议问题