Jump to content

Recommended Posts

Posted

I'm on a reseller plan, and one of my customers asked me this question:

 

"Does the TotalChoice implementation of PEAR include the DB.PHP. or should I include it, myself, locally."

 

Anyone have any guidance for me (and him)?

 

Thanks...

 

Paul

Posted

I just today signed up with TCH but looking at the php info page, it clearly says "-with pear-" in the compile details at the top of the page.

 

See for yourself at

TCH Info page

 

I'll tell you something else that I noticed...

 

As a webdesigner that uses a ton of php and mysql, I was pleasantly surprised to see that TCH has compiled PHP with all the fun goodies that I was missing at my old hosting provider:

  • XSLT
  • Pear (at least it appears to be included)
  • Zend Optimizer
  • GD

And you can run cron jobs (automatic execution of certain scripts)

 

To me, this is HUGE!

 

In about 24-48 hours, I could give you a definitive answer.

 

Hope this helps a little.

Posted

Surefire--- thanks for the kind words. Yes, TCH has many tools available to its users. Sometimes the issue of "latest and greatest" versions will be asked. It's always a choice between having a verison that's reliable, versus staying on the "bleeding edge" - as they used to call it.

 

I think the Head Guru and his staff do a good job of maintaining a good balance. Sometimes new security issues may force a newer version to be installed sooner than later, but they usually will give us a "heads up" when that happens.

 

-kw

Posted

I noticed that PEAR is included, but that's only an umbrella for several "libraries", like DB.PHP. I know on my dev environment, I had to install the two separately. Is there any way to tell if (and where) TCH installed DB.PHP?

 

dz

Posted

Both PEAR and DB.php are included on TCH servers. Usually, you need to define the location of DB.php via editing the .htaccess file on your site. I believe an entry like this should work for you:

 

php_value include_path ".:/usr/local/lib/php"

-or-

php_value include_path "/usr/local/lib/php"

 

Also, be sure you include a statement in your PHP program like this:

 

require_once 'DB.php';

 

 

HTH!

-kw

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...