Re: Relocating a pear installation

From: Date: Tue, 18 Jul 2006 17:50:27 +0000
Subject: Re: Relocating a pear installation
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-43521@lists.php.net to get a copy of this message
On 7/18/06, Markus Fischer <markus@fischer.name> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, what is the best to relocate a pear installation? When installing it on a unix system, full paths are stored in the .registry/pear.reg file. When I move to another directory/machine and have to change the paths, proper updating the software doesn't work anymore. Since the files are serialized PHP variables I can't just use sed to change the paths. Is there any better way than re-installing? thanks, and keep up the good work!
Well, you could write a simple PHP script to unserialize and walk through the array, fixing the paths. Or you could just reinstall...it's not *that* hard, is it? -- Justin Patrin

« previous php.pear.dev (#43521) next »