By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,349 Members | 1,353 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,349 IT Pros & Developers. It's quick & easy.

How do I do an offline install of PEAR?

P: n/a
I have apache, php5 and mysql setup. I want to get PEAR installed, but
the Windows2000 machine it is on, does not have internet access and I
can not hook it up to the internet.

So I need to install PEAR offline, which I cannot figure out how.
Surely there is a way to do this, I've search the internet high and
low and can't find anything on this. :(
Feb 6 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Frank Peterson wrote:
I have apache, php5 and mysql setup. I want to get PEAR installed, but
the Windows2000 machine it is on, does not have internet access and I
can not hook it up to the internet.

So I need to install PEAR offline, which I cannot figure out how.
Surely there is a way to do this, I've search the internet high and
low and can't find anything on this. :(
Hi,

I think it is simple.

1) download all PEAR packages you want.
(You cannot use gopear or anything like that)
2) Place them in a convenient directory, eg:
C:\PHP\PEAR
Of course, make them readable for IUSR_<machinename>
3) edit your php.ini, so the PEAR path is inside the include.
4) test. :-)

I think that should work.
PEAR is nothing more than a bunch of objects that you can include just
as any other file.

Regards,
Erwin Moller
Feb 6 '08 #2

P: n/a
Frank Peterson wrote:
I have apache, php5 and mysql setup. I want to get PEAR installed, but
the Windows2000 machine it is on, does not have internet access and I
can not hook it up to the internet.

So I need to install PEAR offline, which I cannot figure out how.
Surely there is a way to do this, I've search the internet high and
low and can't find anything on this. :(
Download everything you need onto another computer, place it on a memory
stick and install it on the offline computer from the memory stick.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Feb 6 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.