imap suphp

Benjamin Bakker

Verified User
Joined
Mar 4, 2010
Messages
10
Hi there,

I tried to compile php (5.2.13) with imap support doing the following steps:

added the following lines:
--with-imap \
--with-imap-ssl \
to:
/usr/local/directadmin/custombuild/configure/ap2/configure.php5

and the following lines:
"--with-imap" \
"--with-imap-ssl" \
to:
/usr/local/directadmin/custombuild/configure/suphp/configure.php5

Then ./build clean and then ./build php y

But I got some errors:
an error on the line with;
"--with-jpeg-dir=/usr/local/lib" \

And, somehow, a weird php error;
PHP Warning: PHP Startup: Unable to load dynamic library './php_xsl.dll' - ./php_xsl.dll: cannot open shared object file..

I have no idea where that one comes from..

Phpinfo doesn't show imap installed at this time.

Anyone knows a solution, and or a working solution to get the imap support working?

I saw this topic
/showthread.php?t=24822&highlight=imap+suphp
But it is a little bit outdated I think..

Thanks in advance!

Best regards, Benjamin
 
Hi there,

I tried to compile php (5.2.13) with imap support doing the following steps:

added the following lines:
--with-imap \
--with-imap-ssl \
to:
/usr/local/directadmin/custombuild/configure/ap2/configure.php5

and the following lines:
"--with-imap" \
"--with-imap-ssl" \
to:
/usr/local/directadmin/custombuild/configure/suphp/configure.php5

Then ./build clean and then ./build php y

But I got some errors:
an error on the line with;
"--with-jpeg-dir=/usr/local/lib" \

And, somehow, a weird php error;
PHP Warning: PHP Startup: Unable to load dynamic library './php_xsl.dll' - ./php_xsl.dll: cannot open shared object file..

I have no idea where that one comes from..

Phpinfo doesn't show imap installed at this time.

Anyone knows a solution, and or a working solution to get the imap support working?

I saw this topic
/showthread.php?t=24822&highlight=imap+suphp
But it is a little bit outdated I think..

Thanks in advance!

Best regards, Benjamin

I solved the problem.

I had to make the custom dir and copy the configure/ap2 and configure/suphp with configuration.php5 files there. I already tried this before but at that time it didn't work. Something is different now..

The problem with the error according to php_xsl.dll has also been solved.
In the php.ini file it was active (somehow, this has been changed with ./build php ?? very strange, could this be a bug?) so I comment it out and that was it..

Best regards,
Benjamin
 
Back
Top