Discussion:
[PHP-INSTALL] pecl install help. New here
TR Shaw
2013-01-13 00:09:58 UTC
Permalink
New here so pardon me while I learn the ropes.

Question on pecl installs

I have 2 instances of php on the system. One the system default and one with a different config.

I tried

/usr/local/php5/bin/pecl install mailparse

to install mailparse. It did but it installed it to the other instance's structure:

/usr/lib/php/extensions/no-debug-non-zts-20020429/mailparse.so

instead of

/usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/mailparse.so

which is also the directory which is returned from

/usr/local/php5/bin/php-config

So my question is how do I tell /usr/local/php5/bin/pecl or /usr/local/php5/bin/phpize to use the correct directoies to compile and the store the libraries.

Thanks for you help,

Tom
Keith Roberts
2013-01-13 17:48:23 UTC
Permalink
Subject: [PHP-INSTALL] pecl install help. New here
New here so pardon me while I learn the ropes.
Question on pecl installs
I have 2 instances of php on the system. One the system default and one with a different config.
May I suggest you remove one of those installations,
otherwise you will find it VERY confusing to determine where
any problems are coming from.

Kind Regards,

Keith Roberts

-----------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------
tariq wali
2013-01-13 18:12:28 UTC
Permalink
Tom, why are you running two php installations in the first place ? get rid
of one of them and things will fall in correct place as already suggested
by Keith.
Subject: [PHP-INSTALL] pecl install help. New here
New here so pardon me while I learn the ropes.
Question on pecl installs
I have 2 instances of php on the system. One the system default and one
with a different config.
May I suggest you remove one of those installations, otherwise you will
find it VERY confusing to determine where any problems are coming from.
Kind Regards,
Keith Roberts
------------------------------**-----------------------------
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-**dead.org.uk<http://www.raised-from-the-dead.org.uk>
All email addresses are challenge-response protected with
TMDA [http://tmda.net]
------------------------------**-----------------------------
--
*Tariq Wali.*
TR Shaw
2013-01-14 00:18:35 UTC
Permalink
the server owner says, "don't blow away the default install" if you want someting different install in parallel." Lots of folks that I have delt with do this.
Tom, why are you running two php installations in the first place ? get rid of one of them and things will fall in correct place as already suggested by Keith.
Subject: [PHP-INSTALL] pecl install help. New here
New here so pardon me while I learn the ropes.
Question on pecl installs
I have 2 instances of php on the system. One the system default and one with a different config.
May I suggest you remove one of those installations, otherwise you will find it VERY confusing to determine where any problems are coming from.
Kind Regards,
Keith Roberts
-----------------------------------------------------------
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk
All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------
--
Tariq Wali.
Keith Roberts
2013-01-14 10:34:53 UTC
Permalink
Hi Tariq.

Well if you must do that, but you will need to be very
diligent that you know what version of PHP you are using.

Please take a look at my http://www.php-debuggers.net
homepage for information about finding what version of
PHP and php.ini is being used, and where your extension
directory might be.

Kind Regards,

Keith
Subject: Re: [PHP-INSTALL] pecl install help. New here
the server owner says, "don't blow away the default install" if you want someting different install in parallel." Lots of folks that I have delt with do this.
Tom, why are you running two php installations in the first place ? get rid of one of them and things will fall in correct place as already suggested by Keith.
Subject: [PHP-INSTALL] pecl install help. New here
New here so pardon me while I learn the ropes.
Question on pecl installs
I have 2 instances of php on the system. One the system default and one with a different config.
May I suggest you remove one of those installations, otherwise you will find it VERY confusing to determine where any problems are coming from.
Kind Regards,
Keith Roberts
-----------------------------------------------------------
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk
All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------
--
Tariq Wali.
--
-----------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------
Loading...