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

message similar to:php

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


solution is something similar to:apache

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


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

pecl uninstall uploadprogress
pecl install uploadprogressio


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

sudo apache2ctl gracefulwebserver

相關文章
相關標籤/搜索