php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71512 SSL Support not checked during configure
Submitted: 2016-02-03 14:06 UTC Modified: 2016-04-15 10:14 UTC
From: andy at asjohnson dot com Assigned: ab (profile)
Status: Closed Package: PostgreSQL related
PHP Version: 7.0.2 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: andy at asjohnson dot com
New email:
PHP Version: OS:

 

 [2016-02-03 14:06 UTC] andy at asjohnson dot com
Description:
------------
ext/pgsql/pgsql.c line looks for USE_SSL on line 1255 to print whether or not SSL support is enabled or disabled in the module. SSL support is not checked for and USE_SSL is not set by configure. The module incorrectly reports SSL support is disabled when in fact it is enabled and working.

Test script:
---------------
phpinfo();


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-04-15 10:14 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2016-04-15 10:14 UTC] ab@php.net
Thanks for the report. The macro you refer to is defined in the libpq headers, no check in needed in the configure. However, in Postgres >= 9.5 it was changed to USE_OPENSSL. This only can be the issue, otherwise - if the libpq headers don't define this macro, no SSL support is expected. This is anyway fixed in the latest 7.0 versions.

Thanks.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 07:00:01 2026 UTC