How to use PL/PHP on postgreSql ?

Posted November 9, 2016 3.4k views

i trying to build PL/PHP on postgreSql via centOS, see i get help to here site link: but i compared with the error: collect2: error: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 how to fix it? Also PL/PHP doesn’t appear on New Extension for PostgreSQL like PL/PERL or PL/PHYTON or PL/PLTCL … how can we do it for PL/PHP ?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Some more information on the steps you took up until you received the error would help in troubleshooting. This guide while a bit dated should provide you with a step by step to get PL/PHP up and running on CentOS.