IMAP support for PHP Install - Soooo Annoying!!

AdWarm

Verified User
Joined
Apr 7, 2011
Messages
27
Hi Guys,

I have read so many topic on here each explaining a different way of installing IMAP onto a new server with DirectAdmin. There needs to be a more simplet way of doing this, iv tried installing IMAP over 10 times each with a different install method and yet i still can not get IMAP to install.

My DirectAdmin uses CustomBuild and not the easyapache folder thing some people have been talking about.

Here are just some of the threads i have read and done to try and install IMAP:

http://www.directadmin.com/forum/showthread.php?t=38183&highlight=Install+IMAP
http://www.directadmin.com/imap.txt
http://www.directadmin.com/forum/showthread.php?t=36030&highlight=Install+IMAP
http://www.directadmin.com/forum/showthread.php?t=30675
http://directadmin.com/forum/showthread.php?t=29824

I'm so god dam confused, i dont understand why so many people like myself are finding it so difficult to install IMAP. Surley theres a more simpler way to install this instead of all these topics with each topic having something different in the way of how to install it.

Any help would be great please.

Thanks
 
Since DirectAdmin comes with imap support out of the box, why don't you start by telling us the symptom(s) you're having and the problem you're trying to solve.

DirectAdmin never used easyapache; that's part of cPanel, not DirectAdmin. DirectAdmin used to use customapache, but that was a long time ago; anyone still using it should move to custombuild.

Jeff
 
Hi,

Thanks for your reply, so your saying DA should already have IMAP installed? Well i use an Email Marketing Script to manage all my campaigns etc... and when the script tries to connect to the mail box i get an error saying it can not connect because the server doesn't have IMAP support. I have another license for the same system but thats running with cPanel and it works 100% fine.

The problem i am having is getting IMAP to install on DA. I've done everything the threads have said and restart Apache, even tried a full server reboot and still IMAP is not installed as i still get the same error message from the script.

What should i do?

Thanks
 
This is the error, sorry i cant edit my post for some reason.

Your server does not have the required modules installed to process bounces. Please contact your host or system administrator and ask them to install the "PHP-IMAP" module.
For more information, see this page on the PHP website.
 
So you have to build php with imap support.

Yes, please take a look at the picture, i have placed the following in every configure.php4 and configure.php5

"--with-imap" \
"--with-imap-ssl" \

I have rebuilt PHP so many times. Any help would be great please.

Thanks.
 
I've also even used:

"--with-imap=/root/imap-2007e" \

As i downloaded the file and then extracted it all and placed them in the root folder.

Rebuild PHP still no joy.
 
You're making a few mistakes.

You've confused IMAP with PHP's imap module. DirectAdmin includes IMAP, and imap-2007e is an IMAP server incompatible with DirectAdmin's installed IMAP server. What you need is the imap php modules; but you can't just point to them; you've got to install them first. Did you did that?

Note that putting files into /root is not the same as installing them and generally won't work because when trying to read them, php will NOT have access to /root.

Did you follow the instructions in this thread:

http://www.directadmin.com/forum/showthread.php?t=37357

Jeff
 
just placing the lines in configure.php5 isnt going to make it work. You need to copy them to the custom folder first to get it to work.

cd /usr/local/directadmin/custombuild
mkdir -p custom/configure/ap2
cp -rfp configure/ap2/configure.php5 custom/configure/ap2

Then you can try to rebuild it with the options you want.
 
You're making a few mistakes.

You've confused IMAP with PHP's imap module. DirectAdmin includes IMAP, and imap-2007e is an IMAP server incompatible with DirectAdmin's installed IMAP server. What you need is the imap php modules; but you can't just point to them; you've got to install them first. Did you did that?

Note that putting files into /root is not the same as installing them and generally won't work because when trying to read them, php will NOT have access to /root.

Did you follow the instructions in this thread:

http://www.directadmin.com/forum/showthread.php?t=37357

Jeff

Yes i have just followed those instructions and i still get the error :(

Any help would be greatly appreciated please.

Thank you.
 
just placing the lines in configure.php5 isnt going to make it work. You need to copy them to the custom folder first to get it to work.

cd /usr/local/directadmin/custombuild
mkdir -p custom/configure/ap2
cp -rfp configure/ap2/configure.php5 custom/configure/ap2

Then you can try to rebuild it with the options you want.

This is what i have done, and it still doesn't work and its really starting to annoy me :( Any help would be greatly appreciated please.

Thank you.
 
Please contact me on any instant messenger (or by PM) and I will install it for you (free of course) or will give you instructions.
 
Please contact me on any instant messenger (or by PM) and I will install it for you (free of course) or will give you instructions.

Thank you for the kinda offer, i have added you to Windows Live messenger.

Once again thank you for this.
 
Can i just say a big THANK YOU to 'smtalk' for fixing my problem. He was able to do this in less than 10mins and is very professional at what he does and highly recommend hiring him out for ANY server management services you may need.

I would post here but it wont allow me for some reason.

Once again thank you for everyone who tried to help me and a big thanks to smtalk :)

Thumbs Up!
 
Hi Guys,

I have read so many topic on here each explaining a different way of installing IMAP onto a new server with DirectAdmin. There needs to be a more simplet way of doing this, iv tried installing IMAP over 10 times each with a different install method and yet i still can not get IMAP to install.

My DirectAdmin uses CustomBuild and not the easyapache folder thing some people have been talking about.

Here are just some of the threads i have read and done to try and install IMAP:

http://www.directadmin.com/forum/showthread.php?t=38183&highlight=Install+IMAP
http://www.directadmin.com/imap.txt
http://www.directadmin.com/forum/showthread.php?t=36030&highlight=Install+IMAP
http://www.directadmin.com/forum/showthread.php?t=30675
http://directadmin.com/forum/showthread.php?t=29824

I'm so god dam confused, i dont understand why so many people like myself are finding it so difficult to install IMAP. Surley theres a more simpler way to install this instead of all these topics with each topic having something different in the way of how to install it.

Any help would be great please.

Thanks

i have same problem
server info :
centos 6.2 x64
php 5.3.18 - suphp

all of solution in all urls is not work for me .
i checked all of solution , but i checked suphp change in custom folder but not work.
how can i solve this problem .?

when i wanna see the imap installation result with this command :
#php -i | grep imap
Configure Command => './configure' '--prefix=/usr/local/php5' '--enable-force-cgi-redirect' '--enable-fastcgi' '--with-config-file-path=/usr/local/etc/php5/cgi' '--with-curl=/usr/local/lib' '--with-gd' '--with-gettext' '--with-jpeg-dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib' '--with-kerberos' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-pcre-regex=/usr/local' '--with-pdo-mysql=/usr' '--with-pear=/usr/local/lib/php' '--with-png-dir=/usr/local/lib' '--with-xsl' '--with-zlib' '--with-zlib-dir=/usr/local/lib' '--with-openssl' '--with-iconv=/usr/local' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-magic-quotes' '--enable-soap' '--enable-sockets' '--enable-mbstring' '--enable-zip' '--enable-wddx--with-imap=/usr/local/imap-2000e' '--with-imap-ssl'
but the imap is not working for me .
 
Last edited:
Back
Top