php icon indicating copy to clipboard operation
php copied to clipboard

/etc/services missing, problem connecting to ftp for example

Open erSitzt opened this issue 4 months ago • 1 comments

Hi,

not sure if this is a problem and/or intentional, but /etc/services does not exist in the container and results in this error.

root@b8ed6d7b6ee4:/# ftp ftp.mydomain.com
ftp: Can't lookup `ftp.mydomain.com:ftp': Servname not supported for ai_socktype
ftp> ^D

After installing netbase it works again and /etc/services exists

root@b8ed6d7b6ee4:/# ftp ftp.mydomain.com
Connected to ftp.mydomain.com.
220 CrushFTP Server Ready!
Name (ftp.mydomain.com:root):

I tried with php:8.3.25-zts and php:8.3.22-zts

erSitzt avatar Sep 12 '25 09:09 erSitzt