Re: Old PHP version and PEAR / PEAR DB
| From: | Torsten Roehr | Date: | Thu, 01 Jul 2004 13:50:42 +0000 |
| Subject: | Re: Old PHP version and PEAR / PEAR DB | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13436@lists.php.net to get a copy of this message | ||
"Torsten Roehr" <roehr@zilleon.com> wrote in message
news:20040701134436.79746.qmail@pb1.pair.com...
> "Nicolas" <n_binet@hotmail.com> wrote in message
> news:20040701071356.16799.qmail@pb1.pair.com...
> > I have a problem with the installation of the site I developped for a
> > client. His hosting provider runs a PHP 4.0.3pl1 version, with 2000'
> > aged PEAR libraries. I'm having problems with my site running on this
> > configuration. For example, the PEAR DB version does not support
> > "numrows", a shame ...
> > Can someone advise me off most compatible and powerfull version of PEAR
> > and PEAR DB for this version of PHP. I'm really lost there ...
> > any help is welcome
>
> You can use your current versions of PEAR along with your product. Just
> upload the PEAR packages you use to the web server (preferrably into a
> protected directory) and set the inlcude path accordingly. No need to rely
> on the ISP's outdated packages.
One more thing. PHP 4.0.3 is out-of-date for YEARS now. Maybe you could try
to convince the ISP to upgrade or convince your client to move to an
up-to-date provider.
If this is not possible and you run into problems with missing functions,
take a look at PEAR::PHP_Compat:
http://www.go-pear.org/package/PHP_Compat
Regards, Torsten