PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Multiple Pear installs on one machine using VirtualHosts

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Installation, Upgrading & Configuration
View previous topic :: View next topic  
Author Message
wclark



Joined: 07 Apr 2008
Posts: 1

PostPosted: Mon Apr 07, 2008 1:30 am    Post subject: Multiple Pear installs on one machine using VirtualHosts Reply with quote

Hi All,

I have one machine set up with 3 VirtualHosts in Apache.

One is for Development
One is for Staging
One is for Production

My code is self configurable so that the same codebase executes correctly on each VirtualHost. This allows me to keep development, code to be tested (staged) and production code separate, and usually different.

I have local copies of pear for each VirtualHost.

I like to be able to update each separately, so that I can test upgraded pear code against my codebase before installing it on production.

My problem is installing or upgrading new pear libraries.
I have been using php go-pear.php local to install on each local path.

I am doing these installs as root, so a .pearrc file is created in /root

When I do another install (first for dev, then for stage, then for prod) the install script sees the /root/.pearrc file, and doesn't want to install again. I have been using the --force option.

Is there a better way? Should I maybe create a user for each VirtualHost just for managing each pear install? Then I could have a .pearrc file for my dev, stage and prod directory structures?

Any ideas would be greatly appreciated!!

best regards,
billc
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Installation, Upgrading & Configuration All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software