php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14682 OpenSSH extension buildable as a loadable module only by chance
Submitted: 2001-12-24 04:23 UTC Modified: 2002-06-06 20:53 UTC
From: hps at intermeta dot de Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 4.0CVS-2001-12-24 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hps at intermeta dot de
New email:
PHP Version: OS:

 

 [2001-12-24 04:23 UTC] hps at intermeta dot de
The openssl extension configuration queries a variable ($ext_shared) that is set by a completely unrelated subsystem and builds as a loadable module only by chance. This patch
is needed to query the correct setting.

+++ php-4.1.0/ext/openssl/config.m4     Mon Dec 24 02:00:51 2001
@@ -3,6 +3,6 @@
 dnl
 
 if test "$OPENSSL_DIR"; then
-  PHP_EXTENSION(openssl, $ext_shared)
+  PHP_EXTENSION(openssl, $openssl_ext_shared)
   AC_DEFINE(HAVE_OPENSSL_EXT,1,[ ])
 fi
--- php-4.1.0/configure.in~     Mon Dec 24 02:00:09 2001
+++ php-4.1.0/configure.in      Mon Dec 24 02:01:00 2001
@@ -561,6 +561,7 @@
 
 if test "$PHP_OPENSSL" != "no"; then
   PHP_SETUP_OPENSSL
+  openssl_ext_shared=$ext_shared
 fi
 
 PHP_ARG_ENABLE(sigchild,whether to enable PHP's own SIGCHLD handler,

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-06 20:53 UTC] sniper@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC