Hello,
I had my server host to install the "PECL uploadprogress library" for me and he did it but I still have the same warning... "Library not installed"; Can anyone help with this?
Any help will be appreciated.

Comments

These are the basic instructions I followed on a debian system with pear already installed. Make sure that the uploadprogress library is enabled:

sudo pecl install uploadprogress

Edit the php.ini file:

sudo vi /etc/php5/apache2/php.ini

Add in this code to your extensions:

extension=uploadprogress.so

Then the error will should go away after you've restarted apache.

I've done all of that, but the status report still says uploadprogress is not installed, and it still doesn't show up in phpinfo().

Ideas?

Thanks.

use phpinfo() and verify that the library is actually installed and available in the php environment.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Like I said, phpinfo() does not show any references to uploadprogress.so. It does, however, correctly show the location of the extension dir, as "/usr/local/lib/php/extensions/no-debug-zts-20060613/", which I set accordingly to the uploadprogress installation.

I've uninstalled it and reinstalled it a few times, to no avail.

Did you ever figure this one out? I am installing Drupal 7 and have had the same experience.

From "PECL"

[ec2]$ pecl list
Installed packages, channel pecl.php.net:
=========================================
Package Version State
uploadprogress 1.0.1 stable

From "phpinfo();"

No mention of uploadprogress, but extension_dir is correct, which is /mnt/website/php/usr/local//lib/php/extensions/no-debug-non-zts-20090626, (I copied the output from phpinfo and "cd ..." to the directory and there is the file. I also double checked that the extension=uploadprogress.so is set.

Here is the output of the `file` command:

[ec2 no-debug-non-zts-20090626]$ file uploadprogress.so
uploadprogress.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped

Not sure what to do. I will keep looking.

----------------------------

Ronald Petty
Director of Operations - Saforian
rpetty@saforian.com

I finally found the problem...I was using drupal on a subdomain level folder and I had two PHP.ini files. One in the main domain area and also one in the subdomain drupal folder. It turned out that my server host enabled the "PECL uploadprogress library" on the wrong PHP.ini file...I copied that PHP.ini file into my drupal folder and the warning disappeared.

Hope this helps someone.

Sorry, but I don't think I understand this. There is no php.ini file in the Drupal installation directory—and I don't think there should be one. So it's not clear what php.ini files were conflicting with each other. Can you provide specific system paths, as well as server configuration (like OS, etc.)?

Thanks.

shared domain servers, by far, the most affordable option for many of us, require a variety of apache and php customizations for the variety of domains that they are hosting. To accommodate these needs, they allow for domain specific over rides of the default configurations of the respective systems.

Just as Apache allows for domain specific customizations through the use of .htaccess files within the root directory of the domain, PHP can be configured through PHP.ini files.

This is the contents of my PHP.ini file, and it resides in the root directory for the domain that is being served.

memory_limit = 128M
extension_dir = /php/CodeGen/PECL/
extension=uploadprogress.so

I'm still strugling with PECL, but clearly, my memory statement is working fine.

cheers,

kev