Home > Archive > PHP Pear > September 2007 > Re: [PEAR] how to use Pear packages without command line installing them?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PEAR] how to use Pear packages without command line installing them?
|
|
| Pádraic Brady 2007-09-12, 7:03 pm |
| You can create an online collection of PEAR packages and then manually include that parent directory on the PHP include_path in your applications. Usually something like:
set_include_path('/path/to/pear' . PATH_SEPARATOR. get_include_path());
ini_set() can do something identical on the "include_path" property which is probably what you remember.
There's a few in-depth explanations online. Before I moved to a host where I could compile PHP myself and setup PEAR, I used a solution Greg wrote up for PEAR 1.4.0:
http://greg.chiaraquartet.net/archi...emote-host.html
This lets you synchronise a local PEAR repository to a hosted version across FTP.
Hope this helps :).
Paddy
Pádraic Brady
http://blog.astrumfutura.com
http://www.patternsforphp.com
----- Original Message ----
From: l Burnerheimerton <lburnerheimerton@yahoo.com>
To: pear-general@lists.php.net
Sent: Wednesday, September 12, 2007 4:21:49 PM
Subject: [PEAR] how to use Pear packages without command line installing them?
One of client's hostwill not allow command line
install - therefore I can install PEAR the proper way.
I have worked with one site that had the packages in
the web-accessible directory structure and did
something funcky at the top ofmost pages using
set_ini().
Has anyone run into this issue and how do I work with
the packages without installing them formally?
Many thanks.
________________________________________
________________________________________
____
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
--
PEARGeneral Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
________________________________________
________________________________________
____
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/
| |
| l Burnerheimerton 2007-09-13, 7:03 pm |
| thanks for the link. I tried that several times and
meticulously. It installed on my local machine in the
remote directory but NOT on the remote machine.
Any ideas?
--- Pádraic Brady <padraic.brady@yahoo.com> wrote:
> You can create an online collection of PEAR packages
> and then manually include that parent directory on
> the PHP include_path in your applications. Usually
> something like:
>
> set_include_path('/path/to/pear' . PATH_SEPARATOR .
> get_include_path());
>
> ini_set() can do something identical on the
> "include_path" property which is probably what you
> remember.
>
> There's a few in-depth explanations online. Before I
> moved to a host where I could compile PHP myself and
> setup PEAR, I used a solution Greg wrote up for PEAR
> 1.4.0:
>
http://greg.chiaraquartet.net/archi...emote-host.html
>
> This lets you synchronise a local PEAR repository to
> a hosted version across FTP.
>
> Hope this helps :).
>
> Paddy
>
> Pádraic Brady
> http://blog.astrumfutura.com
> http://www.patternsforphp.com
> ----- Original Message ----
> From: l Burnerheimerton <lburnerheimerton@yahoo.com>
> To: pear-general@lists.php.net
> Sent: Wednesday, September 12, 2007 4:21:49 PM
> Subject: [PEAR] how to use Pear packages without
> command line installing them?
>
> One of client's host will not allow command line
> install - therefore I can install PEAR the proper
> way.
>
> I have worked with one site that had the packages in
> the web-accessible directory structure and did
> something funcky at the top of most pages using
> set_ini().
>
> Has anyone run into this issue and how do I work
> with
> the packages without installing them formally?
>
> Many thanks.
>
>
>
>
________________________________________
________________________________________
____
> Need a vacation? Get great deals
> to amazing places on Yahoo! Travel.
> http://travel.yahoo.com/
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>
>
>
>
>
>
________________________________________
________________________________________
____
> Moody friends. Drama queens. Your life? Nope! -
> their life, your story. Play Sims Stories at Yahoo!
> Games.
> http://sims.yahoo.com/
________________________________________
________________________________________
____
Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos.
http://autos.yahoo.com/index.html
|
|
|
|
|