469,898 Members | 2,364 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

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?
Feb 17 '06 #1
5 14033
In article <pO******************************@comcast.com>,
"Jim Michaels" <jm******@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.

jeremy - here comes the at - deuel - dot - ch
Feb 17 '06 #2

"Jeremy Deuel" <jeremy@PLEASEREMOVE_deuel_removethisto_.ch.invali d> wrote in
message news:je**************************@idnews.unizh.ch. ..
In article <pO******************************@comcast.com>,
"Jim Michaels" <jm******@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.


waduzidu?

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

Feb 18 '06 #3

"Jeremy Deuel" <jeremy@PLEASEREMOVE_deuel_removethisto_.ch.invali d> wrote in
message news:je**************************@idnews.unizh.ch. ..
In article <pO******************************@comcast.com>,
"Jim Michaels" <jm******@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

Feb 18 '06 #4
In article <7o********************@comcast.com>,
"Jim Michaels" <NO***************@yahoo.com> wrote:
"Jeremy Deuel" <jeremy@PLEASEREMOVE_deuel_removethisto_.ch.invali d> wrote in
message news:je**************************@idnews.unizh.ch. ..
In article <pO******************************@comcast.com>,
"Jim Michaels" <jm******@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
Feb 18 '06 #5

"Jeremy Deuel" <je****@removethisdeuelandthisto.ch.invalid> wrote in message
news:je**************************@idnews.unizh.ch. ..
In article <7o********************@comcast.com>,
"Jim Michaels" <NO***************@yahoo.com> wrote:
"Jeremy Deuel" <jeremy@PLEASEREMOVE_deuel_removethisto_.ch.invali d> wrote
in
message news:je**************************@idnews.unizh.ch. ..
> In article <pO******************************@comcast.com>,
> "Jim Michaels" <jm******@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
Feb 20 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Michel P. | last post: by
3 posts views Thread by David | last post: by
2 posts views Thread by Alan Prescott | last post: by
2 posts views Thread by jhalaseh | last post: by
4 posts views Thread by awebguynow | last post: by
3 posts views Thread by Anthony Smith | last post: by
4 posts views Thread by inetquestion | last post: by
reply views Thread by kempshall | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.