Re: [SOLVED] Pear Installation Problems
| From: | Firman Wandayandi | Date: | Wed, 07 Apr 2004 08:30:19 +0000 |
| Subject: | Re: [SOLVED] Pear Installation Problems | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11690@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Charles Collins" <sales@ayrmer.co.uk>
To: <pear-general@lists.php.net>
Sent: Wednesday, April 07, 2004 3:22 PM
Subject: Re: [PEAR] Pear Installation Problems
> Dear Firman, Greg and Roger,
>
> Thanks very much for all the help, eventually got it working following
> Greg's email and comment made by Firman and Roger, so here goes.
>
> Before running the go-pear.bat edit the line (shown below) by removing
> the -n
>
> %PHP_BIN% -n -d output_....
>
> -n tells the cli PHP not to use php.ini. This is incorrect behaviour,
and
> will be fixed in the next release, hopefully.
>
> Now run the go-pear.bat and follow on screen prompts, confirming the file
> layout for your pear installation.
>
> This will create a new batch file called pear which I then hired wired,
> having removed the error trapping, essentially you end up with the
> following: -
>
> @ECHO OFF
> "c:\Php\cli\php.exe" -C -d output_buffering=1 -d
> include_path="c:\Php\pear" -f "c:\Php\pear\pearcmd.php" -- %1 %2 %3 %4 %5
%6
> %7 %8 %9
> @ECHO ON
>
> Double click the "PEAR_ENV.reg" file and now run the pear.bat from the
shell
> and it will work, to test it use the following argument "pear list" and it
> should output the packages installed.
>
> PS. make sure that your php.ini has the c:\Php\pear directory in the
> include setting.
>
> Once again, thanks for everyone's help and hope this helps someone else
one
> day.
>
> Regards,
> Charlie.
>
> "Firman Wandayandi" <fwd@vfemail.net> wrote in message
> news:00f001c41c5c$23a918f0$387c5e3d@orangenigma...
> Hi Charles,
>
> Sorry late response, I had big problem here!
>
> pear.bat seems ok, it begun confused! :( I have no idea what the problems
> is? sorry made you disappointed. Everything is ok but still not work,
looks
> like you must dig to found a problems. I recommended you to tried to
> re-install PEAR, oh... remove all PEAR files before you begin. There's
> possible? If not! I don't know what should be do?
>
> Good luck,
> Firman
>
> ----- Original Message -----
> From: "Charles Collins" <sales@ayrmer.co.uk>
> To: <pear-general@lists.php.net>
> Sent: Tuesday, April 06, 2004 10:31 PM
> Subject: Re: [PEAR] Pear Installation Problems
>
>
> > Dear Firman,
> >
> > Likewise, but still not working, check enviromental variables, path, etc
> and
> > all seems OK but still no joy.
> >
> > Any ideas? Starting to get desperate!
> >
> > Regards,
> > Charlie.
> >
> > "Firman Wandayandi" <fwd@vfemail.net> wrote in message
> > news:00d401c41bca$b9a52c50$377c5e3d@orangenigma...
> > I copied it to C:\WINDOWS.
> >
> > Firman
> >
> > ----- Original Message -----
> > From: "Charles Collins" <sales@ayrmer.co.uk>
> > To: <pear-general@lists.php.net>
> > Sent: Tuesday, April 06, 2004 6:26 PM
> > Subject: Re: [PEAR] Pear Installation Problems
> >
> >
> > > Dear Firman,
> > >
> > > Where did you copy php.ini and pear.ini?
> > >
> > > Regards,
> > > Charlie
> > >
> > > "Firman Wandayandi" <fwd@vfemail.net> wrote in message
> > > news:00ae01c41bc8$ee0bdae0$377c5e3d@orangenigma...
> > > Hi Charles, Hi Norbert,
> > >
> > > I currently running PEAR in Windows XP box, with PHP 4.3.5. I have
been
> > > installed PEAR only once time 1 month ago, my Windows crash few days
> ago,
> > > but I never install PEAR again I just copy pear.ini and php.ini double
> > click
> > > PEAR_ENV.reg. No problem until now.
> > >
> > > Firman
> > >
> > > ----- Original Message -----
> > > From: "Norbert Mocsnik" <pear-general@mocsnik.hu>
> > > To: <pear-general@mocsnik.hu>; <pear-general@lists.php.net>;
> > > "Charles
> > > Collins" <sales@ayrmer.co.uk>
> > > Sent: Tuesday, April 06, 2004 6:08 PM
> > > Subject: Re: [PEAR] Pear Installation Problems
> > >
> > >
> > > > Dear Charles,
> > > >
> > > > Have you maybe some free time to download and extract PHP 4.3.3,
which
> > > works very fine for me, and try the installer with it? So we can make
> sure
> > > if the problem comes with PHP/PEAR or it has do to something with (the
> > > settings on) your system.
> > > >
> > > > On the other hand, if you are busy and don't have to deal with this
> now,
> > > you may also try using the web installer to install PEAR independently
> > into
> > > every project of yours under your DocumentRoot. I like this way better
> > since
> > > you won't need to ask the sysadmin to install PEAR on the production
> > server.
> > > See the section "Installing a local copy of PEAR through ftp" on
> > >
> > > http://pear.php.net/manual/en/installation.shared.php. If you use
> > > the
> web
> > > frontend of the installer on Windows, be sure to know this bug
> > > http://pear.php.net/bugs/bug.php?id=1067 and replace
> > > that backslash
when
> > the
> > > script breaks.
> > > >
> > > > Regards,
> > > > Norbert
> > > >
> > > > Charles Collins wrote:
> > > > > Dear Norbet,
> > > > >
> > > > > I've been struggling with this since early yesterday.
> > > > >
> > > > > I have installed PHP 4.3.5 which contains pear files, then run the
> > > pear.bat
> > > > > as explained in initial message. All seems OK, but when I run
pear
> I
> > > get
> > > > > the message shown below: -
> > > > >
> > > > > PHP_PEAR_INSTALL_DIR is not set correctly.
> > > > > Please fix it using your enviromental variable or modify the
default
> > > value
> > > > > in pear.bat.
> > > > > The current value is:
> > > > > ECHO is off.
> > > > >
> > > > > I have run the registry file and double checked the registry
> settings
> > > are
> > > > > correct (case sensitive, etc.,). I have done a re-boot and still
> > > getting
> > > > > the same. This is starting to seriously wind me up, please help.
> > > > >
> > > > > Regards,
> > > > > Charlie
> > > > >
> > > >
> > > > --
> > > > PEAR General Mailing List (http://pear.php.net/)
> > > > To unsubscribe, visit:
> > > > http://www.php.net/unsub.php
> > > >
> > > >
> > >
> > > --
> > > PEAR General Mailing List (http://pear.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
> > --
> > PEAR General Mailing List (http://pear.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>