install pecl in debian

This is a discussion on install pecl in debian within the PHP General forums, part of the PHP Programming Forums category; Hi, I post following message days ago, but could not see it on the list. Sorry if it is duplicated. ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2008
hce
 
Posts: n/a
Default 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
Reply With Quote
  #2 (permalink)  
Old 04-12-2008
Shawn McKenzie
 
Posts: n/a
Default 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
Reply With Quote
  #3 (permalink)  
Old 04-12-2008
Bojan Tesanovic
 
Posts: n/a
Default 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





Reply With Quote
  #4 (permalink)  
Old 04-12-2008
hce
 
Posts: n/a
Default 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
Reply With Quote
  #5 (permalink)  
Old 04-13-2008
hce
 
Posts: n/a
Default 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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:43 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0