Problem in install PHP-IMAP

3245

Verified User
Joined
Mar 28, 2013
Messages
34
hello
my VPS is centos 5.8 32bit
i want install PHP-IMAP

when i run following command:
yum install php-imap
i see following error:
yum install php-imap
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror01.th.ifl.net
* extras: mirror01.th.ifl.net
* updates: mirror01.th.ifl.net
Excluding Packages in global exclude list
Finished
Setting up Install Process
No package php-imap available.
Nothing to do

i do tutorial on this link: forum.directadmin.com/showthread.php?t=37357
but i see following error when i run ./build php n
[06:25:56 ب.ظ] morteza almas: Thank you for using PHP.

Notice: Following unknown configure options were used:

--with-ttf

Check './configure --help' for available options

/usr/local/directadmin/custombuild/configure/ap2/configure.php5: line 37: --with-imap=/usr/lib/dovecot/imap: No such file or directory

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file

i use this tutorial: http://forum.directadmin.com/showthread.php?t=45434&p=232384#post232384
problem is when i do it, it freeze on Installing Imap-2006k...
I waited for about 2 hours.

Please help me for install PHP-IMAP.

Thanks.
 
Where did you find instructions for put --with-imap=/usr/lib/dovecot/imap:?

In that tutorial it doesnt say that path.

Regards
 
Where did you find instructions for put --with-imap=/usr/lib/dovecot/imap:?

In that tutorial it doesnt say that path.

Regards
yes
i add following line to that file:
--with-imap=/usr/lib/dovecot/imap \
--with-imap-ssl

but i give following error:
Thank you for using PHP.

Notice: Following unknown configure options were used:

--with-ttf

Check './configure --help' for available options

/usr/local/directadmin/custombuild/configure/ap2/configure.php5: line 37: --with-imap=/usr/lib/dovecot/imap: No such file or directory

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
 
Back
Top