Ask Your Question
1

Is pdo_pgsql absent in PHP CLI?

asked 2023-05-28 14:53:12 +0000

devzero gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-05-28 15:16:02 +0000

djk gravatar image

No, pdopgsql is not absent in PHP CLI. The PHP CLI version shipped with most distributions typically includes the pdopgsql extension by default. If you're unsure about the presence of pdo_pgsql in your PHP CLI installation, you can check using the following command:

php -m | grep pdo_pgsql

This command lists all the installed PHP extensions on your system and pipes the output to the grep command to filter out only the pdopgsql extension. If the output shows pdopgsql, then it's installed and loaded in your PHP CLI.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-28 14:53:12 +0000

Seen: 14 times

Last updated: May 28 '23