imap_open çağrıldığını zaman ölür

1 Cevap php

Ben aşağıdaki kodu var:

print "foo";
imap_open("{localhost:143/imap/notls}", "myname", "mypass");
print "bar";

Komut ölür. Ben sıfır yanıt verir, apache hiçbir şey, hayır "foo" veya "bar", hiçbir şey olsun.

I can however connect to the imap server (nc localhost ...), I can also put the script on another server and connect to the same imap server. So, I think there's something wrong with the php on this server. But I can't figure out what I'm missing, forgetting or didn't install. phpinfo() tells me php is configured --with-imap and --with-imap-ssl. The OS is CentOS, btw.

1 Cevap

Hm, üzgünüm ... Yani cevap) bu :: olduğu

Tamam, sorun bulundu. FD_SETSIZE düşük ayarlanmış olan libc_client bir başlık dosyasına karşı derlenmiştir. Çok fazla açık dosya tanımlayıcıları vardı çünkü bu sunucu paylaşılan sunucu barındırma varlık, o çöktü ... libc_client arasında Recompile hile yaptı