-
Notifications
You must be signed in to change notification settings - Fork 8k
Description
Operating system: Windows Server 2019
PHP version: 8.4.0 and 8.4.1
PHP ini: The original php.ini-development with the extension=pgsql decommented
Apache: 2.4 with httpd.conf modified with the next lines
PHPIniDir "C:/PHP8"
LoadFile "C:/PHP8/libssh2.dll"
LoadFile "C:/PHP8/libsqlite3.dll"
LoadFile "C:/PHP8/php8ts.dll"
LoadFile "C:/PostgreSQL/13/bin/libpq.dll"
LoadModule php_module "C:\PHP8\php8apache2_4.dll"
AddType application/x-httpd-php .php
Apache server start without problem but Postgres extension is not available on phpinfo(); (and function pg_connect does no work)
PHP log error is:
[26-Nov-2024 15:11:15 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'pgsql' (tried: C:/PHP8/ext/pgsql (Impossibile trovare il modulo specificato), C:/PHP8/ext/php_pgsql.dll (Il sistema operativo non può eseguire %1)) in Unknown on line 0
[26-Nov-2024 15:11:17 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'pgsql' (tried: C:/PHP8/ext/pgsql (Impossibile trovare il modulo specificato), C:/PHP8/ext/php_pgsql.dll (Il sistema operativo non può eseguire %1)) in Unknown on line 0
All works well with PHP 8.3.x
Regards