|
Posted by Jim Michaels on 10/23/32 11:40
"Jeremy Deuel" <jeremy@removethisdeuelandthisto.ch.invalid> wrote in message
news:jeremy-DE3548.11563218022006@idnews.unizh.ch...
> In article <7oSdnauc5IoIVmveRVn-pA@comcast.com>,
> "Jim Michaels" <NOSPAMFORjmichae3@yahoo.com> wrote:
>
>> "Jeremy Deuel" <jeremy@PLEASEREMOVE_deuel_removethisto_.ch.invalid> wrote
>> in
>> message news:jeremy-DE7A9F.09481017022006@idnews.unizh.ch...
>> > In article <pOudncIOjqNpF2jenZ2dnUVZ_sadnZ2d@comcast.com>,
>> > "Jim Michaels" <jmichae3@nospam.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_IT) 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_IT, please
>> > contact me.
>>
>> 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. :-/
>>
>> >
>> > jeremy - here comes the at - deuel - dot - ch
>
> You have to change the code everywhere there where it says "PEAR"... :P
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
[Back to original message]
|