Re: PEAR installation thoughs error when folder different that c:\php4
| From: | Roger C Haslock | Date: | Tue, 11 Mar 2003 08:16:17 +0000 |
| Subject: | Re: PEAR installation thoughs error when folder different that c:\php4 | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4147@lists.php.net to get a copy of this message | ||
I found that the installation path is embedded in the *.reg file, so you
can't just move the directory! See my recent gripe!
Also, if you move things, and fix the *.reg files, the next install resets
things back to c:\php4.
If you find out how to change the install path, please let me know. I'm
trying to install horde too.
Regards
- Roger -
----- Original Message -----
From: "Jose Fandos" <jose.fandos@sonnd.com>
To: <pear-general@lists.php.net>
Sent: Tuesday, March 11, 2003 1:07 AM
Subject: [PEAR] PEAR installation thoughs error when folder different that
c:\php4
> Hi,
>
> I got to install pear, but I found a problem, I believe, that you might
> want to fix.
>
> When running the installation and answering the placement of the
> installation, I wrote c:\program files\php 4.3.1, as that is where my
> PHP installation lives. This gave an error an exited the installation.
>
> [...]
> Downloading package: Mail.............ok
> Downloading package: XML_Parser.......ok
> Extracting installer..................ok
>
> failed to write \program files\php 4.3.1\pear\data\PEAR\.tmppackage.dtd
>
>
> IMHO, this is due to the use of spaces in the folder name, but I could
> be wrong. I finally got PEAR installed by letting use the defaults. I
> now plan on moving the folder under \program files\php 4.3.1\ and see if
> that works (preliminary test not satisfactory).
>
> Also, on trying to overcome the installation error, I defined each of
> the 6 folders for the installation as such:
>
> 1. Installation prefix : c:\program files\php 4.3.1
> 2. Binaries directory : c:\program files\php 4.3.1
> 3. PHP code directory : c:\program files\php 4.3.1\pear
> 4. Documentation base directory : c:\program files\php 4.3.1\pear\docs
> 5. Data base directory : c:\program files\php 4.3.1\pear\data
> 6. Tests base directory : c:\program files\php 4.3.1\pear\tests
>
> and also created a pear folder under the data folder, but then I got
> this error instead:
>
> Downloading package: Mail.............ok
> Downloading package: XML_Parser.......ok
> Extracting installer..................ok
>
> failed to write \program files\php 4.3.1\pear\PEAR\.tmpAutoloader.php
>
> Then I tried once more, with the folders all set manually and also
> creating the extra pear folder under the pear folder, and I got another
> error...
>
> [... a few minutes later...]
> It seems that copying the folders created under c:\php4 to c:\program
> files\php 4.3.1\ will not to the trick. Running the <?php require_once
> 'DB.php'; ?> gives a warning. Note: In php.ini include_path =
> ".;c:\Program Files\PHP 4.3.1\pear"
>
> Warning: main(DB.php) [function.main.html]: failed to create stream: No
> such file or directory in...
>
> If I try to run the pear.bat I get:
> C:\Program Files\PHP 4.3.1>pear
> 'php_bin@' is not recognized as an internal or external command,
> operable program or batch file...
>
> Got to go... will continue later.
>
>
>
> [... a few more minutes...]
> I kept at this until the sucker installed itself correctly
>
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>