imap functions crash apache

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Galahad
Forum Contributor
Posts: 111
Joined: Fri Jun 14, 2002 5:50 pm

imap functions crash apache

Post by Galahad »

I'm trying to use these imap functions on a server I set up. However, whenever I try to use imap_open(), apache crashes. To a browser, it looks like the page doesn't exist, but the apache error log says that there was a segmentation fault. I'm using php 4.1.2 and imap c-client version 2000. I have '--with-imap=shared' '--with-imap-ssl' in my configuration. Any ideas what's going on?
User avatar
hex
Forum Commoner
Posts: 92
Joined: Sat Apr 20, 2002 3:20 am
Location: UK

Post by hex »

I've had problems actually loading the module. When I try to start Apache with the extension in the php.ini, it just crashes straight away. Although I don't really use IMAP so I just commented it out!
Galahad
Forum Contributor
Posts: 111
Joined: Fri Jun 14, 2002 5:50 pm

Post by Galahad »

I gave up and wrote my own (pop3) functions. They work great for what I'm doing. Thanks for the help.
Post Reply