December 12th, 2000, 12:32 AM
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 ?
December 12th, 2000, 01:01 PM
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)
December 12th, 2000, 03:10 PM
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 :-(