php_ini not set to php.ini location

后端 未结 2 1125
爱一瞬间的悲伤
爱一瞬间的悲伤 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:16

    pear config-set php_ini /etc/php5/apache2/php.ini

    0 讨论(0)
  • 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
    
    0 讨论(0)
提交回复
热议问题