To run PHP in CLI mode, give a warning:
PHP warning:php Startup:pdo_pgsql:Unable to initialize module
Module compiled with module api=20100525
PHP compiled with module api=20121212
These options need to match
In Unknown on line 0
PHP warning:php Startup:pgsql:Unable to initialize module
Module compiled with module api=20100525
PHP compiled with module api=20121212
These options need to match
In Unknown on line 0
Look at the hint should be said Pgsql and PHP with the API version inconsistent, but Google long time, there is no good way to recompile pgsql. Who helps to see ha.
Reply content:
To run PHP in CLI mode, give a warning:
PHP warning:php Startup:pdo_pgsql:Unable to initialize module
Module compiled with module api=20100525
PHP compiled with module api=20121212
These options need to match
In Unknown on line 0
PHP warning:php Startup:pgsql:Unable to initialize module
Module compiled with module api=20100525
PHP compiled with module api=20121212
These options need to match
In Unknown on line 0
Look at the hint should be said Pgsql and PHP with the API version inconsistent, but Google long time, there is no good way to recompile pgsql. Who helps to see ha.
You first understand that the problem is the Php-pgsql module, not the Pgsql database.
Your module is using an older version of the PHP API, and PHP is already a new version of the API. That is, your PHP version and the version of the Php-pgsql module differ too much.
Where did you install PHP and where did you install the Php-pgsql? If it is Linux, it is recommended to install the relevant package from the software source, so that the version must be compatible.