custom php library with pear local installation

Posted by andreas on Stack Overflow See other posts from Stack Overflow or by andreas
Published on 2010-06-03T17:47:29Z Indexed on 2010/06/03 17:54 UTC
Read the original article Hit count: 385

Filed under:
|

Hello i wish to be able to deploy a PHP web application along with a local installation of PEAR.

To be more specific, i am trying to find a way to do a 'per-application' or local installation of PEAR if this is possible.

For example:

The application 'MyApplication' is located in: /var/www/applications/myapplication

The php library is located in: /var/www/applications/myapplication/library

I am looking for a way to do a per-application installation of PEAR since not all applications are managed by me (and i want to control which PEAR packages are installed and when).

I found some tutorials for a local PEAR installation (on a shared host) but i don't know if my scenario fits the one for a local PEAR installation.

Any thoughts/help appreciated.

© Stack Overflow or respective owner

Related posts about php

Related posts about pear