Re: [PECL-DEV] install PS PECL at Linux (Ubuntu)

[email protected] (Ferenc Kovacs)
Newsgroups php.pecl.dev
Message-ID <[email protected]>
On Wed, Aug 11, 2010 at 10:10 AM, Adnan <[email protected]> wrote:

>
>
> On Wed, Aug 11, 2010 at 1:06 PM, Ferenc Kovacs <[email protected]> wrote:
>
>>
>>
>> On Wed, Aug 11, 2010 at 9:46 AM, Adnan <[email protected]> wrote:
>>
>>> On Wed, Aug 11, 2010 at 11:21 AM, Alexey Zakhlestin <[email protected]
>>> >wrote:
>>>
>>> > On Wed, Aug 11, 2010 at 6:00 AM, Adnan <[email protected]> wrote:
>>> > > hi folks,
>>> > >
>>> > > I have installed xampp at Ubuntu. So, I could use PS package now. I
>>> > > downloaded PS package from here http://pecl.php.net/package/ps
>>> > > but where I should put this to work ?
>>> >
>>> > 1) install dependencies
>>> >
>>>
>>> how I would know that this PECL have dependencies ?
>>>
>>>
>>> > 2) execute: "pecl install ps"
>>> >
>>> >
>>> where to execute this command ?
>>>
>>>
>>>
>> /o\
>> in the command line.
>> first you should invoke
>> apt-get install php5-dev php-pear
>>
>>
> Iam new to Linux.
> I have installed xampp.
> Now I should invoke PEAR first ?
> but how
>
>
>> Tyrael
>>
>
>
>
> --
> Muhammad Adnan
> Twitter: @hiddenpearls
> I blog too do u know ? http:// www.imblog.info
> Failure takes you higher than success ..!
>

if you have problems with your xampp installation, ask the xampp community
for support.
if you have problems using your choice of linux distribution or it's
packaging system, ask the distro's community for support.
if you have problems with pear/pecl, then come back here, but I think you
have bigger problems with your current level of skills, than installing pecl
extensions for php.

If I were you, I would drop the xampp, and create a normal lamp install from
your distribution's(ubuntu) package system:
http://www.howtoforge.com/ubuntu_lamp_for_newbies

then
apt-get install php5-dev php-pear
apt-get install pslib-dev
then
pecl install ps
hit return when prompted for pslib path (forksforme)
then create a file to /etc/php5/conf.d/ps.ini with the following content:
extension=ps.so

Tyrael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.