how to install PEAR module?

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

    #1

    how to install PEAR module?

    I downloaded a PEAR module, but it came with this XML file and a PHP file. I
    figure I just include the PHP file somehow, but what do I do with the XML
    file?


  • Jeremy Deuel

    #2
    Re: how to install PEAR module?

    In article <pOudncIOjqNpF2 jenZ2dnUVZ_sadn Z2d@comcast.com >,
    "Jim Michaels" <jmichae3@nospa m.yahoo.com> wrote:
    [color=blue]
    > I downloaded a PEAR module, but it came with this XML file and a PHP file. I
    > figure I just include the PHP file somehow, but what do I do with the XML
    > file?[/color]

    IMHO PEAR can only be installed via shell-access to your server. But
    some PEAR-Modules (for instance HTML_TEMPLATE_I T) can be converted
    easily to a normal include. PEAR (in that case) only handles the errors.
    If you're interested in a PEAR-free copy of HTML_TEMPLATE_I T, please
    contact me.

    jeremy - here comes the at - deuel - dot - ch

    Comment

    • Jim Michaels

      #3
      Re: how to install PEAR module?


      "Jeremy Deuel" <jeremy@PLEASER EMOVE_deuel_rem ovethisto_.ch.i nvalid> wrote in
      message news:jeremy-DE7A9F.09481017 022006@idnews.u nizh.ch...[color=blue]
      > In article <pOudncIOjqNpF2 jenZ2dnUVZ_sadn Z2d@comcast.com >,
      > "Jim Michaels" <jmichae3@nospa m.yahoo.com> wrote:
      >[color=green]
      >> I downloaded a PEAR module, but it came with this XML file and a PHP
      >> file. I
      >> figure I just include the PHP file somehow, but what do I do with the XML
      >> file?[/color]
      >
      > IMHO PEAR can only be installed via shell-access to your server. But
      > some PEAR-Modules (for instance HTML_TEMPLATE_I T) can be converted
      > easily to a normal include. PEAR (in that case) only handles the errors.
      > If you're interested in a PEAR-free copy of HTML_TEMPLATE_I T, please
      > contact me.[/color]

      waduzidu?
      [color=blue]
      >
      > jeremy - here comes the at - deuel - dot - ch[/color]


      Comment

      • Jim Michaels

        #4
        Re: how to install PEAR module?


        "Jeremy Deuel" <jeremy@PLEASER EMOVE_deuel_rem ovethisto_.ch.i nvalid> wrote in
        message news:jeremy-DE7A9F.09481017 022006@idnews.u nizh.ch...[color=blue]
        > In article <pOudncIOjqNpF2 jenZ2dnUVZ_sadn Z2d@comcast.com >,
        > "Jim Michaels" <jmichae3@nospa m.yahoo.com> wrote:
        >[color=green]
        >> I downloaded a PEAR module, but it came with this XML file and a PHP
        >> file. I
        >> figure I just include the PHP file somehow, but what do I do with the XML
        >> file?[/color]
        >
        > IMHO PEAR can only be installed via shell-access to your server. But
        > some PEAR-Modules (for instance HTML_TEMPLATE_I T) can be converted
        > easily to a normal include. PEAR (in that case) only handles the errors.
        > If you're interested in a PEAR-free copy of HTML_TEMPLATE_I T, please
        > contact me.[/color]

        how do I do the conversion process? I have 6 modules I need to convert.

        the weird thing about it is, the pear GTK installer module has an XML file
        that comes with it, too. :-/
        [color=blue]
        >
        > jeremy - here comes the at - deuel - dot - ch[/color]


        Comment

        • Jeremy Deuel

          #5
          Re: how to install PEAR module?

          In article <7oSdnauc5IoIVm veRVn-pA@comcast.com> ,
          "Jim Michaels" <NOSPAMFORjmich ae3@yahoo.com> wrote:
          [color=blue]
          > "Jeremy Deuel" <jeremy@PLEASER EMOVE_deuel_rem ovethisto_.ch.i nvalid> wrote in
          > message news:jeremy-DE7A9F.09481017 022006@idnews.u nizh.ch...[color=green]
          > > In article <pOudncIOjqNpF2 jenZ2dnUVZ_sadn Z2d@comcast.com >,
          > > "Jim Michaels" <jmichae3@nospa m.yahoo.com> wrote:
          > >[color=darkred]
          > >> I downloaded a PEAR module, but it came with this XML file and a PHP
          > >> file. I
          > >> figure I just include the PHP file somehow, but what do I do with the XML
          > >> file?[/color]
          > >
          > > IMHO PEAR can only be installed via shell-access to your server. But
          > > some PEAR-Modules (for instance HTML_TEMPLATE_I T) can be converted
          > > easily to a normal include. PEAR (in that case) only handles the errors.
          > > If you're interested in a PEAR-free copy of HTML_TEMPLATE_I T, please
          > > contact me.[/color]
          >
          > how do I do the conversion process? I have 6 modules I need to convert.
          >
          > the weird thing about it is, the pear GTK installer module has an XML file
          > that comes with it, too. :-/
          >[color=green]
          > >
          > > jeremy - here comes the at - deuel - dot - ch[/color][/color]

          You have to change the code everywhere there where it says "PEAR"... :P

          Comment

          • Jim Michaels

            #6
            Re: how to install PEAR module?


            "Jeremy Deuel" <jeremy@removet hisdeuelandthis to.ch.invalid> wrote in message
            news:jeremy-DE3548.11563218 022006@idnews.u nizh.ch...[color=blue]
            > In article <7oSdnauc5IoIVm veRVn-pA@comcast.com> ,
            > "Jim Michaels" <NOSPAMFORjmich ae3@yahoo.com> wrote:
            >[color=green]
            >> "Jeremy Deuel" <jeremy@PLEASER EMOVE_deuel_rem ovethisto_.ch.i nvalid> wrote
            >> in
            >> message news:jeremy-DE7A9F.09481017 022006@idnews.u nizh.ch...[color=darkred]
            >> > In article <pOudncIOjqNpF2 jenZ2dnUVZ_sadn Z2d@comcast.com >,
            >> > "Jim Michaels" <jmichae3@nospa m.yahoo.com> wrote:
            >> >
            >> >> I downloaded a PEAR module, but it came with this XML file and a PHP
            >> >> file. I
            >> >> figure I just include the PHP file somehow, but what do I do with the
            >> >> XML
            >> >> file?
            >> >
            >> > IMHO PEAR can only be installed via shell-access to your server. But
            >> > some PEAR-Modules (for instance HTML_TEMPLATE_I T) can be converted
            >> > easily to a normal include. PEAR (in that case) only handles the
            >> > errors.
            >> > If you're interested in a PEAR-free copy of HTML_TEMPLATE_I T, please
            >> > contact me.[/color]
            >>
            >> how do I do the conversion process? I have 6 modules I need to convert.
            >>
            >> the weird thing about it is, the pear GTK installer module has an XML
            >> file
            >> that comes with it, too. :-/
            >>[color=darkred]
            >> >
            >> > jeremy - here comes the at - deuel - dot - ch[/color][/color]
            >
            > You have to change the code everywhere there where it says "PEAR"... :P[/color]


            I found the answer:
            from the command line,
            either http://pear.php.net/manual/en/installation.getting.php or
            php -r "readfile('http ://pear.php.net/go-pear');" > go-pear
            php go-pear
            which creates pear.bat so you can install modules, and also installs several
            default modules like
            'DB',
            'Net_Socket',
            'Net_SMTP',
            'Mail',
            'XML_Parser',
            'PHPUnit'
            http://pear.php.net/manual/en/installation.cli.php (which instructs you to)
            pear install modulename


            Comment

            Working...