Bug #71847 [Opn->Fbk]: Http 500 Error on ftp_connect
| From: | requinix@php.net | Date: | Thu, 17 Mar 2016 17:48:35 +0000 |
| Subject: | Bug #71847 [Opn->Fbk]: Http 500 Error on ftp_connect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-199902@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71847&edit=1
ID: 71847
Updated by: requinix@php.net
Reported by: jherrera72 at gmail dot com
Summary: Http 500 Error on ftp_connect
-Status: Open
+Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: Windows 10
PHP Version: 7.0.4
Block user comment: N
Private report: N
New Comment:
Turn on display_errors. And if you still aren't seeing anything,
Check your server error logs.
Previous Comments:
------------------------------------------------------------------------
[2016-03-17 17:42:17] jherrera72 at gmail dot com
I should receive this message: "Couldn't connect to ftp.example.com"
instead, I get the 500 Error.
The computer that I am using is the main testing computer from our company, we have a SaaS software
and we are changing from 5.6.16 to 7.0.4 and we get this error from out tried and tested script. I
am using the simplest code example to reproduce the error. I also used x64 and x86 versions of PHP
and get the same error. When I switch to 5.6.16 or lower, the script works just fine.
------------------------------------------------------------------------
[2016-03-17 17:40:03] requinix@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Check your server error logs.
------------------------------------------------------------------------
[2016-03-17 17:28:15] jherrera72 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.ftp-connect
---
Test script:
---------------
$ftp_server = "ftp.example.com";
// set up a connection or die
$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server");
Actual result:
--------------
The website cannot display the page
HTTP 500
Most likely causes:
â¢The website is under maintenance.
â¢The website has a programming error.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71847&edit=1