Hi there…

Is there any way to enable IMAP for use by PHP?

You’d have to compile your own and run it as a CGI.

Can you point me in the direction of a step by step guide on that one?

Not quite step by step, but this may help:

Also, if you explain what you’re trying to do, perhaps someone can suggest another way of doing it. I’d personally avoid PHP (especially the version running as an Apache modules) for any mail-type stuff on a shared server.