[MacPorts] #44383: Install of php5-ftp seems incomplete

MacPorts noreply at macports.org
Sun Jul 20 08:33:33 PDT 2014


#44383: Install of php5-ftp seems incomplete
-----------------------+--------------------------
  Reporter:  jeff@…    |      Owner:  ryandesign@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.1
Resolution:            |   Keywords:
      Port:  php5-ftp  |
-----------------------+--------------------------

Comment (by jeff@…):

 Replying to [comment:2 ryandesign@…]:
 > php5-ftp does work for me—at least, the `ftp_connect` function is
 defined for me:
 >
 > {{{
 > $ php -r 'echo (int)function_exists("ftp_connect")."\n";'
 > 1
 > }}}

 I'm '''very''' confused now. When I do the above, I get the same result,
 that the function exists. When I hit the page with my browser, I get the
 error. I've verified that
 {{{
 which php
 }}}
 points to /opt/local/bin/php, and that phpinfo() run from the site this
 page is part of returns the same location. In the phpinfo() return, ftp is
 mentioned in two places: Registered PHP Streams, and Loaded Modules
 (mod_proxy_ftp ). Is there anything else I should look at before tossing
 in the towel and uninstalling it in favor of the php53- version (I noticed
 that all of my php ports are php5 and not php53-) ?

-- 
Ticket URL: <https://trac.macports.org/ticket/44383#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list