Jump to content


Photo

Installing PEAR alongside PHP


  • Please log in to reply
2 replies to this topic

#1 arianhojat

arianhojat
  • Members
  • PipPipPip
  • Advanced Member
  • 235 posts

Posted 23 May 2006 - 02:53 PM

I installed php a while back and recently wanted to install pear (have a Window Apache Mysql Php box)
I was wondering about the 1st option...
what the difference is between a local copy of PEAR and a system install?

also i saved and ran gopear.php from [a href=\"http://pear.php.net/go-pear\" target=\"_blank\"]http://pear.php.net/go-pear[/a] 1st from the browser (by going to [a href=\"http://localhost/gopear.php)\" target=\"_blank\"]http://localhost/gopear.php)[/a] to install PEAR on one machine. which installed a front end for me in Apache's directory. and then i wanted to try it from command line, so i installed it on another box by running
% php.exe gopear.php
but i didnt see a web front end installed. so i assumed i would have to add it myself. so i did
% pear install channel://pear.php.net/PEAR_Frontend_Web-0.5.1 --alldeps
but now how do i get to it?
I see a folder for Frontend that was created in my C:/php/PEAR directory but i assume some access pages needs to be in my C:\Program Files\Apache Group\Apache2\htdocs dir or did i install it wrong?

#2 arianhojat

arianhojat
  • Members
  • PipPipPip
  • Advanced Member
  • 235 posts

Posted 17 July 2007 - 07:43 PM

bump :

hmmm had this question come up again, what the difference is between a local copy of PEAR and a system install?

#3 arianhojat

arianhojat
  • Members
  • PipPipPip
  • Advanced Member
  • 235 posts

Posted 17 July 2007 - 07:54 PM

im gonna guess that if you are on a host, you cannot write system wide, so PEAR is installed in your 'local' directory you have access to.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users