码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2018-06-08 23:18:31      阅读:1461      评论:0      收藏:0      [点我收藏+]

标签:load   similar   TE   rest   sim   ini   eth   res   The   

message similar to:

configuration option "php_ini" is not set to php.ini location
You should add "extension=uploadprogress.so" to php.ini


solution is something similar to:

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


Then if you really don‘t feel like touching your php.ini file:

pecl uninstall uploadprogress
pecl install uploadprogress


Oh, and you‘ll still want to restart your webserver since the php.ini changed:

sudo apache2ctl graceful

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

标签:load   similar   TE   rest   sim   ini   eth   res   The   

原文地址:https://www.cnblogs.com/onephp/p/9157842.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!