Deutsch   English   Français   Italiano  
<104hek3$33q7q$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: nntp.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk>
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 database server
Date: Mon, 7 Jul 2025 17:36:03 -0400
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <104hek3$33q7q$1@dont-email.me>
References: <104ejo8$2cobv$1@dont-email.me> <104etvi$2g8lt$1@dont-email.me>
 <104f2gd$2h75q$1@dont-email.me> <104gmqv$2ut4p$1@dont-email.me>
 <104h21p$31cae$1@dont-email.me> <104hcsi$33nc0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 07 Jul 2025 23:36:04 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c90d56ef0511a89ed17d363f636e6129";
	logging-data="3270906"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19i77tsku88d7wGr8p1s27Mb9RQwfnIn/E="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:mBevOpkMU7APfMOj30ww6e969I4=
Content-Language: en-US
In-Reply-To: <104hcsi$33nc0$1@dont-email.me>

On 7/7/2025 5:06 PM, Mark Berryman wrote:
> On 7/7/25 12:01 PM, Arne Vajhøj wrote:
>> I do use your PHP.
>>
>> But I do not have pgsql and pdo_pgsql loaded.
>>
>> $ pipe php -i | search sys$input php,version/match=and
>> PHP Version => 8.1.23
>> $ pipe php -i | search sys$input pdo
>> ...
>> PDO
>> PDO support => enabled
>> PDO drivers => mysql
>> pdo_mysql
>> PDO Driver for MySQL => enabled
>> ...
>>
>> The funny thing is that unlike most other extensions
>> then PHP_PGSQL.EXE and PHP_PDO_PGSQL.EXE exist
>> as seperate files. But even if I try to load them in
>> php.ini, then nothing.
>>
>> I must be missing something. Probably something basic,
>> but ...
> 
> Some of the extensions were built as separate loadable modules either 
> due to their size or because they require separate optional libraries 
> that not everyone has.  All that is necessary to load them is to have 
> the following in php_root:[000000]php.ini:
> 
> extension=php_pdo_pgsql.exe
> extension=php_pgsql.exe
> 
> and to make sure that php.ini is readable by the account running php 
> (and, of course, for libpq from VSI to be installed).

First I did not have anything for pgsql in php.ini
and second I tried without php_ prefix.

Loading with php_ prefix and everything works!

Thanks.

Arne