Skip to contentSkip to conversation

Building php with postgres support

DISCUSSION [email protected] 1 participant 2 messages Jul 1, 2016 – Jul 7, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

I want to build php with postgres support. Am using the jethro branch. Looking at the php.inc file

http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-devtools/php/php.inc?h=jethro

postgres doesn't seem to be enabled by default.

Tried enabling postgres by adding the following to EXTRA_OECONF

--with-pgsql=${STAGING_DIR_TARGET}${exec_prefix}

based on the PKGCONFIG defined in that file later but that does not seem to work.

Checking phpinfo does not show postgres support enabled.

What would be the required change to php.inc file for enabling postgres with php?

Regards,
Victor.

#1 lore raw

Hello,

Ping?

Quoted 23 lines · On 16-07-01 23:50:08, [email protected] wrote:

Hello,

I want to build php with postgres support. Am using the jethro branch. Looking at the php.inc file

http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-devtools/php/php.inc?h=jethro

postgres doesn't seem to be enabled by default.

Tried enabling postgres by adding the following to EXTRA_OECONF

--with-pgsql=${STAGING_DIR_TARGET}${exec_prefix}

based on the PKGCONFIG defined in that file later but that does not seem to work.

Checking phpinfo does not show postgres support enabled.

What would be the required change to php.inc file for enabling postgres with php?

Regards,
Victor.