pkrohnert Posted May 6, 2003 Posted May 6, 2003 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 Quote
surefire Posted May 9, 2003 Posted May 9, 2003 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. Quote
KevinW Posted May 10, 2003 Posted May 10, 2003 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 Quote
dziemecki Posted May 10, 2003 Posted May 10, 2003 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 Quote
KevinW Posted May 10, 2003 Posted May 10, 2003 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 Quote
dziemecki Posted May 10, 2003 Posted May 10, 2003 Smokin'! Just what I needed to know. Thanks, dz Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.