winston 发表于 2015-3-5 13:20:00

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

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

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


页: [1]
查看完整版本: PECL: configuration option "php_ini" is not set to php.ini location