473,671 Members | 2,180 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 14231
In article <pO************ *************** ***@comcast.com >,
"Jim Michaels" <jm******@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.

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

"Jeremy Deuel" <jeremy@PLEASER EMOVE_deuel_rem ovethisto_.ch.i nvalid> wrote in
message news:je******** *************** ***@idnews.uniz h.ch...
In article <pO************ *************** ***@comcast.com >,
"Jim Michaels" <jm******@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.


waduzidu?

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

Feb 18 '06 #3

"Jeremy Deuel" <jeremy@PLEASER EMOVE_deuel_rem ovethisto_.ch.i nvalid> wrote in
message news:je******** *************** ***@idnews.uniz h.ch...
In article <pO************ *************** ***@comcast.com >,
"Jim Michaels" <jm******@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.


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************ ********@comcas t.com>,
"Jim Michaels" <NO************ ***@yahoo.com> wrote:
"Jeremy Deuel" <jeremy@PLEASER EMOVE_deuel_rem ovethisto_.ch.i nvalid> wrote in
message news:je******** *************** ***@idnews.uniz h.ch...
In article <pO************ *************** ***@comcast.com >,
"Jim Michaels" <jm******@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.


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****@removet hisdeuelandthis to.ch.invalid> wrote in message
news:je******** *************** ***@idnews.uniz h.ch...
In article <7o************ ********@comcas t.com>,
"Jim Michaels" <NO************ ***@yahoo.com> wrote:
"Jeremy Deuel" <jeremy@PLEASER EMOVE_deuel_rem ovethisto_.ch.i nvalid> wrote
in
message news:je******** *************** ***@idnews.uniz h.ch...
> In article <pO************ *************** ***@comcast.com >,
> "Jim Michaels" <jm******@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.


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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1871
by: Dan Finn | last post by:
usinng php-4.3.4 using this for my configure script; ../configure --with-pear=/usr/local/lib/pear --with-mysql --with-apxs=/usr/sb in/apxs --enable-track-vars --with-mysql-sock=/tmp/mysql.sock then make; make install output says it installed pear: : make install
0
1632
by: Michel P. | last post by:
Hi, I'm trying to install the bcompiler extension, under PHP 5.0.4 / Apache / FreeBSD, but can't finalize the install process... Has anybody allready done it ? I'm using the recommended method (in the file "package.xml", in the .tgz file downloaded from PECL): using Pear ("For install instructions see the manual at pear.php.net").
3
2202
by: David | last post by:
I installed the Pear program and set the include path in php.ini to point to the pear dir. I have a program which <? require_once("DB.php"); ?> This produces the error "Class 'PEAR_Error' not found in c:\PHP\pear\PEAR\DB.php on line 868"
2
5778
by: Alan Prescott | last post by:
I'm running SuSE Linux 9.3, fully up to date running # pear install db responds with ... downloading DB-1.7.6.tgz ... Starting to download DB-1.7.6.tgz (124,807 bytes) .............................done: 124,807 bytes requires package `PEAR' >= 1.0b1 DB: Dependencies failed Googling around this ng I found someone with a similar problem who solved it
2
2452
by: jhalaseh | last post by:
Hello, Was wondering if anyone could help me out with a bit of wierd prob. I have pear installed in a UNIX box, with PHP 5.1.2. I'm trying to install some packages by running pear install package.tgz, but always end up with something like .... pear/XML_Parser requires package "pear/PEAR" No valid packages found install failed
4
2126
by: awebguynow | last post by:
Re: only got "pear.old_bat" I had a previous post ".. Upgrade Methods ..." and so far I've gotten around most thorny issues, including patching php5.1.4 with php5apache2_2.dll so I can run it as module with Apache2.2.3 I need a educated response from a PEAR developer, if possible My 1st run go-pear died because I exceeded "maximum execution time" while researching the 1st ?
3
9281
by: Anthony Smith | last post by:
I always get this message. No matter what package $ pear install Date PHP Warning: Module 'oci8' already loaded in Unknown on line 0 No releases available for package "pear.php.net/Date" Cannot initialize 'Date', invalid or missing package file Package "Date" is not valid install failed
4
3694
by: inetquestion | last post by:
php has been configured with the following two configure lines and core's during "make install" on the PEAR section. Is there something simple i'm missing? Any help would be appreciated. Environment: Solaris 9 php 5.2.1 GNU Make 3.81 gcc 4.1.1
0
5027
by: kempshall | last post by:
Can somebody please tell me how to install the Tidy module for PHP 5 on a Mac? I tried what the php.net website said, which is running the command "pecl install tidy" but the installation failed somewhere in the make script. (It looks like PECL is trying to install Tidy version 1.2, even though the documentation says that's only for PHP4.) Any help would be greatly appreciated. Here's the output from the "pecl install tidy" command in...
0
8819
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8597
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8669
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6222
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5692
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4222
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4403
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2809
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2049
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.