aaP_vonwallace Can not use pg_connect or postgressql in php Fatal error: Uncaught Error: Call to undefined function pg_connect() Config file is setup this way ;extension=pdo_pgsql ;extension=pdo_sqlite extension=pgsql ;extension=shmop
aaP_vonwallace [20-Aug-2022 00:34:19] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_pgsql' (tried: /www/server/php/81/lib/php/extensions/no-debug-non-zts-20210902/pdo_pgsql (/www/server/php/81/lib/php/extensions/no-debug-non-zts-20210902/pdo_pgsql: cannot open shared object file: No such file or directory), /www/server/php/81/lib/php/extensions/no-debug-non-zts-20210902/pdo_pgsql.so (/www/server/php/81/lib/php/extensions/no-debug-non-zts-20210902/pdo_pgsql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
aaP_vonwallace [20-Aug-2022 00:37:10] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'pgsql' (tried: /www/server/php/81/lib/php/extensions/no-debug-non-zts-20210902/pgsql (/www/server/php/81/lib/php/extensions/no-debug-non-zts-20210902/pgsql: cannot open shared object file: No such file or directory), /www/server/php/81/lib/php/extensions/no-debug-non-zts-20210902/pgsql.so (/www/server/php/81/lib/php/extensions/no-debug-non-zts-20210902/pgsql.so: cannot open shared object file: No such file or directory)) in Unknown on li
aaPanel_Kern aaP_vonwallace Hello, please install the PostgreSQL and pgsql extension first. It is useless to modify the configuration file directly. Please add the configuration extension=pgsql back to the default, and add a ; before it. There is no related extension by default.