Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Make sure that phrozn is installable when PEAR is run form user's dir #19

Closed
farazdagi opened this issue Sep 17, 2011 · 5 comments
Closed
Assignees

Comments

@farazdagi
Copy link
Collaborator

From chatlog:

srsly, is there no way of installing phrozn using pear without being root?
I've tried installing pear to my home dir (using debian) with no problems, and installing phrozn into that dir, but phr gives me a lot of wierd errors are the lib paths hard coded?

@jeremymturner
Copy link

I was able to install PEAR and Phrozn as a non-root user on Dreamhost's shared web space.

This link is a good reference: http://wiki.dreamhost.com/PEAR#Installing_Packages

I had to modify ~/pear/phr and ~/pear/phrozn to include 'php/Phrozn/Autoload.php' instead of Phrozn/Autoload.php. Also, I had to add the following section:

set_include_path(
get_include_path() .
PATH_SEPARATOR . '/home/(username)/pear/php'
);

Worked great after that.

Jeremy

@Pawka
Copy link
Owner

Pawka commented Jan 5, 2013

Maybe it would be good idea add Console_CommandLine and Console_Color to vendors dir? Then Phrozn could be used instantly just by fetching code from Github.

@Pawka
Copy link
Owner

Pawka commented Jan 15, 2013

Related #59 and #60. After switch to Composer, installation via pear will not be required.

@Pawka
Copy link
Owner

Pawka commented Jan 18, 2013

Not actual anymore after #60 was merged.

@farazdagi
Copy link
Collaborator Author

@Pawka Yep, Composer as such supports installation into custom directory. Here is updated installation instructions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants