PEAR Install in PHP 4.1.1

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mike

    PEAR Install in PHP 4.1.1

    WinXP Pro SP2
    PHP 4.1.1 from php.net
    Installed on D:\php\

    I have tried several times to install PEAR in PHP 4.1.1. I keep getting an error and I am not
    proficient enough to be able to fixit myself.

    After I installed php 4.1.1 I executed go-pear.bat. I took all of the defaults. Then I
    double-clicked on the .reg file. When I execute pear.bat I get the following error.

    PHP_PEAR_INSTAL L_DIR is not set correctly.
    pearcmd.php could not be found there.
    Please fix it using your environment variable or modify
    the default value in pear.bat
    The current value is:

    When looking at the pear.bat file it has

    @ECHO OFF

    REM ----------------------------------------------------------------------
    REM PHP version 5
    REM ----------------------------------------------------------------------
    REM Copyright (c) 1997-2004 The PHP Group

    Why is a 5.0 pear.bat file in php 4.1.1? Could that be causing the error as I understand the dir
    layout for php 4 and 5 is different?

    Assistance is greatly appreciated. Thanks in advance.

    Mike


Working...