[wp-trac] [WordPress Trac] #20187: PemFTP Failing to Fall Back to Pure PHP Implementation

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 29 02:34:25 UTC 2012


#20187: PemFTP Failing to Fall Back to Pure PHP Implementation
--------------------------------+---------------------
 Reporter:  merty               |       Owner:  dd32
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  3.4
Component:  External Libraries  |     Version:  2.3.1
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch commit    |
--------------------------------+---------------------

Comment (by merty):

 Replying to [comment:12 dd32]:
 > Replying to [comment:11 nacin]:
 > > Per the docs on php.net/dl:
 > >
 > > > If the functionality of loading modules is not available or has been
 disabled (either by setting enable_dl off or by enabling safe mode in
 php.ini) an E_ERROR is emitted and execution is stopped.
 > >
 > > I was able to reproduce this even with the error suppression operator.
 >
 > In both of those cases, for me, an E_ERROR was raised, execution of the
 dl() operation ceased, and script execution continued, although I'm using
 php-fpm which may act differently than the apache module.

 The problem is, it does not update the mod_sockets variable with the value
 FALSE when it raises an error. At least, it did not when we tried on three
 different servers.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20187#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list