By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,626 Members | 2,202 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,626 IT Pros & Developers. It's quick & easy.

Pear Install ?, WinXP, php5.2

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.