#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    4
    Rep Power
    0
    I have the following config (as listed by phpinfo)
    ./configure' '--with-apxs=/usr/sbin/apxs' '--with-mysql' '--with-pgsql' '--enable-ftp' '--enable-track-vars' '--without-gd'
    but when I try to use ftp_connect() it gives an undefined function
    any ideas ?
    Jim
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 1999
    Location
    Tempe, AZ, USA
    Posts
    12
    Rep Power
    0
    If it specifically gives you the Undefined Function error - that means it still didnt get compiled in your PHP - make sure your compiling the latest version of PHP (4+) - and then make sure you follow the syntax of the functions as outlined in the manual.
    (Two days ago I had to recompile my Apache-PHP4 servers to enable FTP so that I could use it - I dont know why they dont make it compile as a default function)
    -Ken
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    4
    Rep Power
    0
    I'm using 4.0.4pl1 and really don't understand how I can do anything else - the program was working using php3 and I haven't changed it - crashes in 4
    maybe I should just re compile - but there were no error messages :-(

    Jim

IMN logo majestic logo threadwatch logo seochat tools logo