Why copy within or upload to ES File Explorer rename php file as txt? I am using ES File Explorer FTP service to upload php scripts, to be used with a web server on my android device.
I noticed all php files get renamed with .txt suffix, which make them unsuable.
Files with another extension do not seem to be affected.
This problem only occurs when copying or upload to extSdCard, on a non-rooted device, but allowed by a permission workaround.

Is it a bug? How could I fix this?
i guess that is a bug but you may use bulk rename utility

Section 1:
match: (.*).txt
replace: \1

section 11
remove

Section 12:
filter: *.php.txt

hope it helps