Pear Install ?, WinXP, php5.2

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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 ??

Re: Pear Install ?, WinXP, php5.2

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:

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 ?

Re: Pear Install ?, WinXP, php5.2

awebguynow wrote:
Quoted text here. Click to load it

I am new to PHP. It is not apart of the Pear modules. You can download  
Smarty form their website:

Quoted text here. Click to load it

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;"

Quoted text here. Click to load it

Do not know but the docs should tell you. You could uninstall the  
packages and reinstall but that maybe overkill.

Quoted text here. Click to load it

It's here:

Quoted text here. Click to load it

I am getting as feeling you are not doing any research..?

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA    
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)

Re: Pear Install ?, WinXP, php5.2

I appreciate your reply, but have to chuckle also.  I can find PEAR and
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 )

Re: Pear Install ?, WinXP, php5.2

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

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

Site Timeline