You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/12/03 10:37:09 UTC

[Bug 55838] New: PHP files are being executed instead of downloaded

https://issues.apache.org/bugzilla/show_bug.cgi?id=55838

            Bug ID: 55838
           Summary: PHP files are being executed instead of downloaded
           Product: Apache httpd-2
           Version: 2.2.15
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ftp
          Assignee: bugs@httpd.apache.org
          Reporter: classG2002@gmail.com

We have noticed that when trying to download PHP files from the server running
mod_ftp via FTP the PHP files are being incorrectly transferred. It appears as
though the PHP script is being executed by the server, and the result of the
script is being outputted into the downloaded file.

For example, if we were trying to transfer a PHP file which contained the
following:

<?php
echo "Hello world";
?>

The file that we downloaded from the server would contain the following:

Hello world

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org