#34796 [NEW]: ftp module compiled with openssl extension enabled must be loaded after ssl lib
| From: | glen at delfi dot ee | Date: | Sun, 09 Oct 2005 20:01:49 +0000 |
| Subject: | #34796 [NEW]: ftp module compiled with openssl extension enabled must be loaded after ssl lib | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-86290@lists.php.net to get a copy of this message | ||
From: glen at delfi dot ee
Operating system: PLD Linux
PHP version: 5.1.0RC1
PHP Bug Type: *Compile Issues
Bug description: ftp module compiled with openssl extension enabled must be loaded after ssl lib
Description:
------------
if you configure your php with:
--with-openssl=shared
--enable-ftp=shared
then ftp module is compiled with openssl related functions,
but not linked, this causes ftp module loaded earlier in
php.ini outputing missing SSL_ symbols
$ php -m
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/ftp.so' - /usr/lib/php/ftp.so: undefined
symbol: SSL_shutdown in Unknown on line 0
here's patch to fix it.
http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/php-ftp-ssllibs.patch
NB: applying this patch and compiling --without-openssl is
not tested. otherwise it fixes the bug described earlier.
--
Edit bug report at http://bugs.php.net/?id=34796&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34796&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34796&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34796&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34796&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34796&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34796&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34796&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34796&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34796&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34796&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34796&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34796&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34796&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34796&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34796&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34796&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34796&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34796&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34796&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34796&r=mysqlcfg