Hello, Im running mysql 5.x on webfusion shared hosting. with some scripts im running i need to be able to enable ftp on my phpinfo file. but for the life of me i cannot work out were this is and how i enable it. anyone know ?
ftp support needs to be enabled at compile time via the --enable-ftp flag. If that flag wasn't set when your version of php was compiled, you won't be able to use the ftp functions. You can tell if this was set by looking at the output of phpinfo() and seeing if "--enable-ftp" is somewhere in the "configure commands" section (it's at the top of the page). Additionally, depending on what you're doing, you might need to disable safe mode and set enable_url_fopen, both of which can be set in php.ini Hope that helps.
thanks for that - but where exactly is the phpinfo() i cannot see any configure commands also where is the php.ini are these in phpmyadmin or somewhere else, I cannot see this is phpmyadmin?? apologies for all the questions but im new to all this php mysql stuff.
right figured a few things out. ive made a phpinfo file and it does have the --enable-ftp within the commands, so its on. where would the php.ini file be ? i cannot see it in the root of my directory
i ran the phpinfo() and its saying my pp.ini is in /etc/php.ini ive looked on my server and cannot find a /etc/ file or a php.ini am i looking in wrong place?