Why PHP says fpt_connect is a undefined function?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Neo

    #1

    Why PHP says fpt_connect is a undefined function?

    I downloaded PHP 4.3.4 source and built it (with no special
    configuration, just congigure, make and make install) on my Fedora
    system. When I tried to run a script that runs well on my Windows 2000
    system, PHP complains that ftp_connect is a undefined function. Why is
    that? Do I have to recompile the source with some special switches???
  • Shawn Wilson

    #2
    Re: Why PHP says fpt_connect is a undefined function?

    Neo wrote:[color=blue]
    >
    > I downloaded PHP 4.3.4 source and built it (with no special
    > configuration, just congigure, make and make install) on my Fedora
    > system. When I tried to run a script that runs well on my Windows 2000
    > system, PHP complains that ftp_connect is a undefined function. Why is
    > that? Do I have to recompile the source with some special switches???[/color]


    From the php.net ftp_open() manual page:

    People, for ftp to work you must do ./configure --enable-ftp in php4.

    Do ./configure --help for further info

    Regards,
    Shawn
    --
    Shawn Wilson
    shawn@glassgian t.com


    I have a spam filter. Please include "PHP" in the
    subject line to ensure I'll get your message.

    Comment

    Working...