Monday, April 12, 2021

Re: Upgrade to 6.8 issues

On 4/12/21 3:12 AM, Stuart Henderson wrote:
> On 2021-04-11, Jeff Ross <jross@openvistas.net> wrote:
>> Hi all,
>>
>> Just upgraded to 6.8 from 6.3 (yes, I know...) and now find a few of the
>> websites I'm hosting are no longer connecting to postgres because pear
>> DB is apparently no longer in ports.  Fortunately so far they all appear
>> to be *my* websites so no harm, no foul.
>>
>> The sites that I'm hosting through something like drupal7 or wordpress
>> are all fine--it's only the sites that I created a gazillion years ago
>> using pear DB that are really failing.
>>
>> Are there alternatives that I'm missing?
>>
>> Please, I really don't feel the need to move off apache2 just yet.
>>
>> Thanks,
>>
>> Jeff
>>
>>
> I don't recall pear DB being in ports, could you have installed it separately
> and just need to update it to work with current php?
>
> Generally pear things doesn't get added to ports unless needed for some
> particular application that is wanted in ports, but that is not so common these
> days as php applications normally bundle their own 'vendored' dependencies.
> To install them yourself you can use "pear install" (systemwide) or just for
> a particular project via a dependency manager e.g. "composer".
>
> (note pear DB is still available but no longer getting normal updates, see
> https://pear.php.net/package/DB/, see https://pear.php.net/package/MDB2 for
> similar current equivalent).
>
>
Thanks Stuart!  That was indeed the issue--I was just surprised that my
old version of DB.php was deleted.  There were a few more tweaks and
pinches to make that big jump but nothing too hard to figure out.

Jeff

No comments:

Post a Comment