fatal proftpd error
Posted: 07. April 2021 14:02
Good day,
I'm a newbie when it comes to XAMPP and I've installed XAMPP 8.0.3-0 on a CentOS 7.9 virtual machine.
XAMPP starts fine, however, after running the security configuration, proftpd is giving me the following error:
proftpd[1616]: fatal: unknown configuration directive 'function' on line 44 of '/opt/lampp/etc/proftpd.conf'
Here is the section of the conf file in question Lines 43 - 56:
I've been unable to find anything on the forum regarding this error. Any assistance would be helpful.
Sincerely,
Lee
I'm a newbie when it comes to XAMPP and I've installed XAMPP 8.0.3-0 on a CentOS 7.9 virtual machine.
XAMPP starts fine, however, after running the security configuration, proftpd is giving me the following error:
proftpd[1616]: fatal: unknown configuration directive 'function' on line 44 of '/opt/lampp/etc/proftpd.conf'
Here is the section of the conf file in question Lines 43 - 56:
- Code: Select all
UserPassword daemon <?
function make_seed() {
list($usec, $sec) = explode(' ', microtime());
return (float) $sec + ((float) $usec * 100000);
}
srand(make_seed());
$random=rand();
$chars="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz./";
$salt=substr($chars,$random % 64,1).substr($chars,($random/64)%64,1);
$pass=$argv[1];
$crypted = crypt($pass,$salt);
echo $crypted."
";
?>
I've been unable to find anything on the forum regarding this error. Any assistance would be helpful.
Sincerely,
Lee