 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
wclark
Joined: 07 Apr 2008 Posts: 1
|
Posted: Mon Apr 07, 2008 1:30 am Post subject: Multiple Pear installs on one machine using VirtualHosts |
|
|
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 |
|
 |
|
|
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
|
|