LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trying to install http://pecl.php.net/package/uploadprogress on debian lenny (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-install-http-pecl-php-net-package-uploadprogress-on-debian-lenny-779828/)

ludo33 01-04-2010 07:28 PM

Trying to install http://pecl.php.net/package/uploadprogress on debian lenny
 
Hello,

My first linux task of 2010 and failing miserably!

I want to install this package http://pecl.php.net/package/uploadprogress

So I found this tutorial http://www.mosquitonetsleepers.com/node/45

So far so good:

Apt-get install php-pear tells me i need to install php5-cli

then trying apt-get install php5-cli tells me :

php5-cli:
Depends: php5-common (=5.2.6.dfsg.1-1+lenny4) but 5.2.9-0.dotdeb.1 is to be installed

I already have php5-common installed!

Any idea what I should do, before I break yet another linux distro :-) ?

craigevil 01-04-2010 07:34 PM

Comment out the dotdeb repo in your sources.list then try try install the needed packages.

You are better off trying to us packages from lenny or backports.org before using packages from dotdeb.

ludo33 01-04-2010 10:41 PM

Hi
 
Thanks for the info:

looked at synaptic package manager software sources

dotdeb is unchecked !!

What gives?

evo2 01-04-2010 11:03 PM

php5-cli wants exacltly the 5.2.6.dfsg.1-1+lenny4 version of php5-common. Since the dotdeb php5-common you have installed has a higher version number apt craps out. You need to explicitly install the normal, 5.2.6.dfsg.1-1+lenny4 php5-common that it depends on.

Try:
Code:

aptitude install php5-cli php5-common=5.2.6.dfsg.1-1+lenny4
That *should* uninstall the dotdep php5-common package replacing it with the proper Debian package, and also install php5-cli.

Cheers,

Evo2.

ludo33 01-04-2010 11:18 PM

Ok
 
Many thanks for your help, I don't know what I would do without the help of the good folks here.

Now I have pear installed, searched synaptic for pecl uploadprogress without luck!

Not wanting to break my system, what's next ?

craigevil 01-05-2010 04:49 AM

Quote:

Originally Posted by ludo33 (Post 3814354)
Many thanks for your help, I don't know what I would do without the help of the good folks here.

Now I have pear installed, searched synaptic for pecl uploadprogress without luck!

Not wanting to break my system, what's next ?

Now you can follow the tutorial from your original post to install it.

ludo33 01-05-2010 07:15 AM

Yahooo!!!!
 
Upload progress now installed!!! Thanks a bunch guys!

However, a small spanner in the works:

Drupal tells me:

GD Image Filtering Low Quality / Poor Performance
The installed version of PHP GD does not support image filtering(desaturate, blur, negate, etc). It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHP. You should recompile PHP --with-gd using the bundled GD library. See http://www.php.net/manual/en/image.setup.php. An implementation of imagefilter in PHP will be used in the interim.

PHPinfo says:

GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.7
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled

Is this bcos I downgraded php5-common ? Anyway to retrieve the situation?

ludo33 01-05-2010 09:01 AM

Is this...
 
..the last piece of the jigsaw ?

http://blog.pirsig.net/apiBlog/entry/compile_php5_gd

Or will I break yet another server :-)

KostaRika 04-14-2010 12:49 PM

Hi!
You said that you found some tutorials. I can advice you to look information here: php form tutorial.


All times are GMT -5. The time now is 02:23 PM.