PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.general > install pecl in debian
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
install pecl in debian

Réponse
 
LinkBack Outils de la discussion
Vieux 12/04/2008, 01h35   #1
hce
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut install pecl in debian

Hi,

I post following message days ago, but could not see it on the list.
Sorry if it is duplicated.

I've installed php5 in debian, but got following problems:

1. I could not find a proper debian package for pecl, search pecl found:

dh-make-php - Creates Debian source packages for PHP PEAR and PECL extensions
php-pear - PEAR - PHP Extension and Application Repository
php4-imagick - ImageMagick module for php4
php5-imagick - ImageMagick module for php5

Could anyone who have installed php in debian advise which pecl
package I should install in debian? I need to install the pecl using
for memcache, lighttpd and mysql.

2. I installed php5 in debian, but there is only /usr/bin/php5-cgi, no
php binary fond in /usr/bin.

$ dpkg -l php5
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii php5 5.2.0-8+etch10 server-side, HTML-embedded scripting languag

Which php package I have been missing for php command?

Thank you.

Kind Regards,

Jim
  Réponse avec citation
Vieux 12/04/2008, 02h19   #2
Shawn McKenzie
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: install pecl in debian

hce wrote:
> Hi,
>
> I post following message days ago, but could not see it on the list.
> Sorry if it is duplicated.
>
> I've installed php5 in debian, but got following problems:
>
> 1. I could not find a proper debian package for pecl, search pecl found:
>
> dh-make-php - Creates Debian source packages for PHP PEAR and PECL extensions
> php-pear - PEAR - PHP Extension and Application Repository
> php4-imagick - ImageMagick module for php4
> php5-imagick - ImageMagick module for php5
>
> Could anyone who have installed php in debian advise which pecl
> package I should install in debian? I need to install the pecl using
> for memcache, lighttpd and mysql.
>
> 2. I installed php5 in debian, but there is only /usr/bin/php5-cgi, no
> php binary fond in /usr/bin.
>
> $ dpkg -l php5
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
> ||/ Name Version Description
> +++-==============-==============-============================================
> ii php5 5.2.0-8+etch10 server-side, HTML-embedded scripting languag
>
> Which php package I have been missing for php command?
>
> Thank you.
>
> Kind Regards,
>
> Jim

Not sure about debian but ubuntu you install the individual modules, not
all that are included in PECL.

1. apt-get install php5-mysql php5-lighttpd php5-memcache

2. apt-get install php5-cli

-Shawn
  Réponse avec citation
Vieux 12/04/2008, 03h36   #3
Bojan Tesanovic
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Re: install pecl in debian

You need CLI (Comman Line interface) for PHP
most of PECL packages are in apt-get

eg apt-get php-memcache



On Apr 12, 2008, at 3:19 AM, Shawn McKenzie wrote:

> hce wrote:
>> Hi,
>> I post following message days ago, but could not see it on the list.
>> Sorry if it is duplicated.
>> I've installed php5 in debian, but got following problems:
>> 1. I could not find a proper debian package for pecl, search pecl
>> found:
>> dh-make-php - Creates Debian source packages for PHP PEAR and PECL
>> extensions
>> php-pear - PEAR - PHP Extension and Application Repository
>> php4-imagick - ImageMagick module for php4
>> php5-imagick - ImageMagick module for php5
>> Could anyone who have installed php in debian advise which pecl
>> package I should install in debian? I need to install the pecl using
>> for memcache, lighttpd and mysql.
>> 2. I installed php5 in debian, but there is only /usr/bin/php5-
>> cgi, no
>> php binary fond in /usr/bin.
>> $ dpkg -l php5
>> Desired=Unknown/Install/Remove/Purge/Hold
>> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-
>> installed
>> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
>> uppercase=bad)
>> ||/ Name Version Description
>> +++-==============-==============-
>> ============================================
>> ii php5 5.2.0-8+etch10 server-side, HTML-embedded
>> scripting languag
>> Which php package I have been missing for php command?
>> Thank you.
>> Kind Regards,
>> Jim

> Not sure about debian but ubuntu you install the individual
> modules, not all that are included in PECL.
>
> 1. apt-get install php5-mysql php5-lighttpd php5-memcache
>
> 2. apt-get install php5-cli
>
> -Shawn
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>



Used Cars
http://www.carster.us/sell-my-car





  Réponse avec citation
Vieux 12/04/2008, 11h38   #4
hce
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Re: install pecl in debian

On 4/12/08, Bojan Tesanovic <btesanovic@gmail.com> wrote:
> You need CLI (Comman Line interface) for PHP
> most of PECL packages are in apt-get
>
> eg apt-get php-memcache
>
>
>
>
> On Apr 12, 2008, at 3:19 AM, Shawn McKenzie wrote:
>
>
> > hce wrote:
> >
> > > Hi,
> > > I post following message days ago, but could not see it on the list.
> > > Sorry if it is duplicated.
> > > I've installed php5 in debian, but got following problems:
> > > 1. I could not find a proper debian package for pecl, search pecl found:
> > > dh-make-php - Creates Debian source packages for PHP PEAR and PECL

> extensions
> > > php-pear - PEAR - PHP Extension and Application Repository
> > > php4-imagick - ImageMagick module for php4
> > > php5-imagick - ImageMagick module for php5
> > > Could anyone who have installed php in debian advise which pecl
> > > package I should install in debian? I need to install the pecl using
> > > for memcache, lighttpd and mysql.
> > > 2. I installed php5 in debian, but there is only /usr/bin/php5-cgi, no
> > > php binary fond in /usr/bin.
> > > $ dpkg -l php5
> > > Desired=Unknown/Install/Remove/Purge/Hold
> > > |

> Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> > > |/ Err?=(none)/Hold/Reinst-required/X=both-problems

> (Status,Err: uppercase=bad)
> > > ||/ Name Version Description
> > >

> +++-==============-==============-============================================
> > > ii php5 5.2.0-8+etch10 server-side, HTML-embedded scripting

> languag
> > > Which php package I have been missing for php command?
> > > Thank you.
> > > Kind Regards,
> > > Jim
> > >

> > Not sure about debian but ubuntu you install the individual modules, not

> all that are included in PECL.
> >
> > 1. apt-get install php5-mysql php5-lighttpd php5-memcache
> >
> > 2. apt-get install php5-cli
> >
> > -Shawn
> >


Thanks Shawn and Bojan. I have already insalled php5-memcache,
php5-mysql. What is the pecl package for the following error:

Catchable fatal error: Object of class MDB2_Error could not be
converted to string....

Thank you.

Kind Regards,

Jim
  Réponse avec citation
Vieux 13/04/2008, 01h36   #5
hce
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Re: install pecl in debian

On 4/12/08, hce <webmail.hce@gmail.com> wrote:
> On 4/12/08, Bojan Tesanovic <btesanovic@gmail.com> wrote:
> > You need CLI (Comman Line interface) for PHP
> > most of PECL packages are in apt-get
> >
> > eg apt-get php-memcache
> >
> >
> >
> >
> > On Apr 12, 2008, at 3:19 AM, Shawn McKenzie wrote:
> >
> >
> > > hce wrote:
> > >
> > > > Hi,
> > > > I post following message days ago, but could not see it on the list.
> > > > Sorry if it is duplicated.
> > > > I've installed php5 in debian, but got following problems:
> > > > 1. I could not find a proper debian package for pecl, search pecl found:
> > > > dh-make-php - Creates Debian source packages for PHP PEAR and PECL

> > extensions
> > > > php-pear - PEAR - PHP Extension and Application Repository
> > > > php4-imagick - ImageMagick module for php4
> > > > php5-imagick - ImageMagick module for php5
> > > > Could anyone who have installed php in debian advise which pecl
> > > > package I should install in debian? I need to install the pecl using
> > > > for memcache, lighttpd and mysql.
> > > > 2. I installed php5 in debian, but there is only /usr/bin/php5-cgi, no
> > > > php binary fond in /usr/bin.
> > > > $ dpkg -l php5
> > > > Desired=Unknown/Install/Remove/Purge/Hold
> > > > |

> > Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> > > > |/ Err?=(none)/Hold/Reinst-required/X=both-problems

> > (Status,Err: uppercase=bad)
> > > > ||/ Name Version Description
> > > >

> > +++-==============-==============-============================================
> > > > ii php5 5.2.0-8+etch10 server-side, HTML-embedded scripting

> > languag
> > > > Which php package I have been missing for php command?
> > > > Thank you.
> > > > Kind Regards,
> > > > Jim
> > > >
> > > Not sure about debian but ubuntu you install the individual modules, not

> > all that are included in PECL.
> > >
> > > 1. apt-get install php5-mysql php5-lighttpd php5-memcache
> > >
> > > 2. apt-get install php5-cli
> > >
> > > -Shawn
> > >

>
>
> Thanks Shawn and Bojan. I have already insalled php5-memcache,
> php5-mysql. What is the pecl package for the following error:
>
> Catchable fatal error: Object of class MDB2_Error could not be
> converted to string....


I've resolved that issue. Thank you all.

Kind Regards,

Jim
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 10h07.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,18141 seconds with 13 queries