Skip to contentSkip to conversation

New: php.mk is missing option --with-pgsql

Buildroot bugzilla at busybox.net 1 participant 7 messages Dec 8, 2017 – Aug 11, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=10566

Bug ID: 10566
Summary: php.mk is missing option --with-pgsql
Product: buildroot
Version: 2017.02.5
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: Peter.Pashkov at utas.utc.com
CC: buildroot at uclibc.org
Target Milestone: ---

When tried to install zabbix server using PostgreSQL database the setup page gave an error message "At least one of MySQL, PostgreSQL, Oracle or IBM DB2 should be supported."
This pointed out to that php was configured without "--with-pgsql". The php.mk file that is in charge of setting different configuration options to "configure" script doesn't have the option at all.

The version of buildroot in use is: buildroot-2017.02.6

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 10566] php.mk is missing option --with-pgsql

https://bugs.busybox.net/show_bug.cgi?id=10566

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #1 from Thomas Petazzoni <[email protected]> --- We already have PostgreSQL support in PHP:

ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL),y) PHP_CONF_OPTS += --with-pdo-pgsql=$(STAGING_DIR)/usr PHP_DEPENDENCIES += postgresql
endif

Are you sure you had BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL enabled ?

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 10566] php.mk is missing option --with-pgsql

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=10566

--- Comment #3 from Thomas Petazzoni <[email protected]> --- Could you submit a patch adding the support for --with-pgsql ? Since you're the one who needs this, you're in the best position to actually test it.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 10566] php.mk is missing option --with-pgsql

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=10566

Carlos Santos <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #4 from Carlos Santos <[email protected]> --- Fixed by commit

03d52226e2 package/php: add support for PostgreSQL (non-PDO)

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.