473,512 Members | 15,089 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pear Install ?, WinXP, php5.2

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 ?
? system | local ? I didn't have adequate understanding to answer,
but guessed system.

It looks like PEAR got installed just fine, but I didn't end up with a
"pear.bat", I just had "pear.old_bat". I'll probably rename and
begin to use this, I just wondered what changes are made to file during
install process, changes and obvious backup.
Maybe I'll need to modify slightly; If so how ??

Aug 17 '06 #1
4 2111
I have 2 related ?'s that I'll throw into the fire, at this point.

Whats the story on Smarty ?
Was it a PEAR package at one time ? Is it still ? ( install is not
thru Pear )
I didn't see it under any current lists of PEAR packages.
But my old php.ini had:
include_path=".;C:\PHP\pear;C:\PHP\PEAR\Smarty\lib s"

Installing Pear on a Shared Host, using Pear 1.4.3+
and using remote-install and remote-* commands.
It looks very good and a slick way to stay in sync.
Are there issues if there are existing PEAR pkgs online already ?

I suppose one method would be to delete them and start from scratch.
Location of PEAR online ?
I did notice in my Shared Host installation, I even had DB, which my
webhost provides system-wide. I did not intend to install it, and
wonder if this would be a conflict ?

Aug 17 '06 #2
awebguynow wrote:
I have 2 related ?'s that I'll throw into the fire, at this point.

Whats the story on Smarty ?
Was it a PEAR package at one time ? Is it still ? ( install is not
thru Pear )
I am new to PHP. It is not apart of the Pear modules. You can download
Smarty form their website: http://smarty.php.net
I didn't see it under any current lists of PEAR packages.
But my old php.ini had:
include_path=".;C:\PHP\pear;C:\PHP\PEAR\Smarty\lib s"
The above include statement has nothing to do with any combination of
the two packages. It just happens that you need to have them on a
include statement in you ini..

I have both and my include path looks like this:
include_path =".;C:\php\PEAR\pear;C:\Program Files\smarty\libs;"
>
Installing Pear on a Shared Host, using Pear 1.4.3+
and using remote-install and remote-* commands.
It looks very good and a slick way to stay in sync.
Are there issues if there are existing PEAR pkgs online already ?
Do not know but the docs should tell you. You could uninstall the
packages and reinstall but that maybe overkill.
>
I suppose one method would be to delete them and start from scratch.
Location of PEAR online ?
It's here: http://pear.php.net
I did notice in my Shared Host installation, I even had DB, which my
webhost provides system-wide. I did not intend to install it, and
wonder if this would be a conflict ?
I am getting as feeling you are not doing any research..?

--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Aug 18 '06 #3
I appreciate your reply, but have to chuckle also. I can find PEAR and
Smarty.
My issues in summary:
In a botched PEAR install, is a pear.old_bat a good replacement for
pear.bat ?

It appears Smarty previously was a Pear pkg, but not any more. Any
info ?
It is a great template tool, but obviously heavyweight; I've been
using TBS more.

Using the PEAR1.4.3 remote-install for shared host, Is the process
compatible with PEAR pkgs that were on shared host previously.
"location of Pear?" I asked - in the context of the shared host web
directory structure

I'm probably deleting old PEAR and starting from scratch; this fx will
rmv old PEAR:
ftp_rmdirr($path, $handle)

** new **
I'm using phpdoc and I'm wondering what dependencies it has on Smarty.
I need server-hosted online docs, and could use web interface, but so
far have just used local CLI, getting local output (and assuming I'd
promote the whole thing).
I probably won't install Smarty unless I need to ( applies to both
local and server )

Aug 18 '06 #4
After assurances that talking to myself is beneficial and I am not
insane, I'll proceed with the questions and commentary.
Re: PEAR on Shared Host
I would think .pearrc would go in PEAR/ on host, but some examples
show otherwise ?
What is (SOP) standard operating procedure ?

I assume the final step (and one left out by docs/examples) would be:
Add path to PEAR/ to your include_path either by ini_set() or
..htaccess

Using .htaccess you can not append to existing include_path, but using
phpinfo() you can determine the current include_path and add to it.

Aug 21 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
3006
by: Tim Tyler | last post by:
I've been using PHP for a while now - and have recently been trying to set up PHP, MySQL and Apache on Windows (for a client). It seems like all the PEAR stuff under PHP 5 doesn't work out of the...
2
4844
by: Gonzalo | last post by:
Just upgraded php (5.0.3) - compiled from source. I'm trying to upgrade & install some Pear packages but get the following error: $ pear upgrade pear downloading PEAR-1.3.5.tgz ... Starting...
0
1624
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...
1
1939
by: webguynow | last post by:
I've installed PEAR in my local area, on my shared host, under htdocs but I'm anticipating a number of issues. I'm forcing use of PHP5 with an .htaccess file, but by default the host runs ...
2
1301
by: awebguynow | last post by:
latest PEAR on W32, refers to PHP5 inaccurately. I've seen posts regarding path's that get messed up, by lost ini's or registry settings. I don't think that's my case, because I can't find PHP5 in...
0
1900
by: Samuel Zallocco | last post by:
Hi all, I've a problem with PHP5 + PEAR::SOAP. I Have the following 2 script that implements a simple web service: The Server Code running on WinXP + PHP5 + Apache 2.x:...
1
2211
by: IchBin | last post by:
I am new to PHP and I am running on Windoze XP SP 2. Just noticed that the PEAR installed dir structure I have (to DB subdir) is : C:\php5.2\PEAR\pear\DB My registry vars are:...
1
7819
by: CSTechie | last post by:
I've been battling to install PEAR on Windows XP now for too long. I am not sure what I need to do. When I run go-pear.php from the command line, I get the error message as shown at the end. I...
4
3662
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. ...
0
7371
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7432
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...
0
7517
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...
0
5676
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5077
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...
0
4743
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...
0
3230
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...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1583
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 ...

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.