Imap CentOS 6.4

Jasper.Bollen

New member
Joined
Oct 28, 2013
Messages
2
Hello everybody,

I'm trying to instapp the IMAP plugin for PHP on my DA server with CentOS 6.4 (Final).
Though I'm getting some errors.

I followed this guide: http://www.directadmin.com/imap.txt though this is kinda old it seems.
Also other forum threads i used did not fix it for me.
Other used forum threads:
http://forum.directadmin.com/showthread.php?t=41879
http://forum.directadmin.com/showthread.php?t=45434 (Used this last)

The problem:
When i rebuild php (./build php n) I get the following error.
Code:
/usr/local/imap-2007f/lib/libc-client.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

Php build (configure/ap2/configure.php5:
Code:
--with-mysqli=/usr/bin/mysql_config \
        --with-pdo-mysql=/usr \
        --with-pcre-regex=/usr/local \
        --with-pear \
        --with-png-dir=/usr/local/lib \
        --with-xsl \
        --with-zlib \
        --with-zlib-dir=/usr/local/lib \
        --with-iconv=/usr/local \
        --enable-bcmath \
        --enable-calendar \
        --enable-exif \
        --enable-ftp \
        --enable-gd-native-ttf \
        --enable-magic-quotes \
        --enable-safe-mode \
        --enable-soap \
        --enable-sockets \
        --enable-mbstring \
        --enable-zip \
        --enable-wddx \
        --with-imap-ssl=/usr/local/imap-2007f \
        --with-imap=/usr/local/imap-2007f

If i use the build and close the last line with "\", I get no error but IMAP is nog enabled.

Could anybody help me with this?

Thanks allready guys!
 
Extra info:

If i restart my httpd service i get the following message:

Code:
service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: Syntax error on line 25 of /usr/local/directadmin/data/users/admin/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
 
Back
Top