RE: [PEAR] How to install a local copy of PEAR and after use it in a Hosting Service
| From: | Reynier Perez Mira | Date: | Tue, 13 Dec 2005 16:56:22 +0000 |
| Subject: | RE: [PEAR] How to install a local copy of PEAR and after use it in a Hosting Service | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-22234@lists.php.net to get a copy of this message | ||
So... If I understand every I have to follow next:
1) Create a file call pear-config.ini and set this parameters:
--------------------
# Here I need to put my proxy and port server but if I navigate using a user and pass, how I can
setup this line ??
HTTP Proxy Server Address http_proxy <not set>
# ¿The entire address for my web root directory "D:\WebServer\WWW\app\includes\PEAR" or
just "/app/includes/PEAR/"?
PEAR executables directory bin_dir /myproject/external/pear
# I think that this is necessary because PEAR put some docs file here, ¿no?
PEAR documentation directory doc_dir /myproject/external/pear/docs
# I setup this in php.ini to D:\WebServer\PHP\ext in wich reside all dll so what I set there,
nothing or leave equal?
PHP extension directory ext_dir /myproject/external/pear/ext
# ¿The entire address for my web root directory "D:\WebServer\WWW\app\includes\PEAR" or
just "/app/includes/PEAR/"?
PEAR directory php_dir /myproject/external/pear/php
# ¿The entire address for my web root directory
"D:\WebServer\WWW\app\includes\PEAR\cache" or just "/app/includes/PEAR/cache"?
PEAR Installer cache directory cache_dir /myproject/external/pear/cache
# ¿The entire address for my web root directory "D:\WebServer\WWW\app\includes\PEAR\data"
or just "/app/includes/PEAR/data"?
PEAR data directory data_dir /myproject/external/pear/data
# ¿The entire address for my web root directory "D:\WebServer\WWW\app\includes\PEAR\test"
or just "/app/includes/PEAR/test"?
PEAR test directory test_dir /myproject/external/pear/tests
# ¿The entire address for my web root directory
"D:\WebServer\WWW\app\includes\PEAR\pear-config.ini" or just
"/app/includes/PEAR/pear-config.ini"?
User Configuration File Filename C:\myproject\pear-config.ini
# ¿The entire address for my web root directory
"D:\WebServer\WWW\app\includes\pear-config.ini" or just
"/app/includes/pear-config.ini"?
Successfully created default configuration file "C:\myproject\pear-config.ini"
2) When I complete the installation, I can move the site to every hosting and problems with PEAR not
came ??
Best regards
ReynierPM
Usuario registrado de Linux: #310201
*********************************************************
No basta con alcanzar la sabiduría, es necesario saber utilizarla.
Answering your question, this all is NOT only for upgrading previous PEAR installations but to
install a local copy of PEAR too.. Sorry about the title, it's a bit misleading.
--
Best Regards,
Norbert Mocsnik
http://norbert.mocsnik.hu/
Reynier Perez Mira wrote:
> Hi Norbert:
> I read the article. This one is for update a previous PEAR installation, ?no?. So I need to
> install it from zero. I haven't installed yet. I think in download all packages locally (to my
> PC) and then install it. ?Is possible do that or is I'm a stupid?
>
> Best
>