Bug #74389 [Com]: error ftp_connect doesn't exist

From: Date: Fri, 07 Apr 2017 02:15:59 +0000
Subject: Bug #74389 [Com]: error ftp_connect doesn't exist
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-208375@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74389&edit=1 ID: 74389 Comment by: jmichae3 at yahoo dot com Reported by: jmichae3 at yahoo dot com Summary: error ftp_connect doesn't exist Status: Not a bug Type: Bug Package: FTP related Operating System: windows 7 x64 PHP Version: 7.1.3 Block user comment: N Private report: N New Comment: http://php.net/manual/en/ftp.installation.php this doesn't take into account that PHP doesn't have an installer anymore. FTP cannot be installed. it comes as a .zip file that you extract. is this something those docs are old. php.ini needs to be installed that needs to be enabled for it to work. ;extension=php_ftp.dll needs to be changed to extension=php_ftp.dll in fact, a lot of things are disabled for development for some strange reason, even mysql and pg stuff. please update the installation instructions. for *nix, there's probably an equivalent .so file (shared library, same as a .dll in windows) to enable FTP. Previous Comments: ------------------------------------------------------------------------ [2017-04-06 19:17:15] requinix@php.net http://php.net/manual/en/ftp.installation.php ------------------------------------------------------------------------ [2017-04-06 19:13:57] jmichae3 at yahoo dot com Description: ------------ Fatal error: Uncaught Error: Call to undefined function ftp_connect() in L:\w2\jtr\ftp7a.php:360 Test script: --------------- $host='somewhere.com'; $conn_id = ftp_connect($host); Expected result: ---------------- a resource id Actual result: -------------- Fatal error: Uncaught Error: Call to undefined function ftp_connect() in L:\w2\jtr\ftp7a.php:360 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74389&edit=1

« previous php.bugs (#208375) next »