I want to use postgresql in my plugins (because i already have any data). In http://php.net/manual/ru/pgsql.installation.php said that it should be append in php compiling. I think I need to edit compile.sh file, but where necessary lines? Sorry about my language, i not from english-speaking country.
https://github.com/pmmp/php-build-scripts/blob/master/compile.sh#L805 Here's the configure command for PHP, you'll need to modify the options for it.
Thanks! It works. I try it already, but before i haven't libpq-dev packet. Now I install it and compile has been successful