On 7 Sep., 15:18, eUser <[email protected]> wrote:
> On 4 Sep., 19:42, W-Mark Kubacki <[email protected]> wrote:
>
>
>
> > 2009/9/4 W-Mark Kubacki <[email protected]>:
>
> > > 2009/9/4 eUser <[email protected]>:
>
> > >> I installed Openmailadmin on Debian Lenny, Apache2, PHP5, mySQL,
> > >> Cyrus2.2, Postfix.
>
> > >> But I cannot add any domain, mailbox or whatever.
> > >> Unfortunately I got no error message.
> > >> Where can I find some log information.
>
> > > What does ~/log/error_log say (in general, your logfiles)? Any new lines 
> > > in it?
> > > Please try to setup an logger [1] by setting these lines in your
> > > config.local.inc.php:
> > > $cfg['logger']['facility']    = 'null';
> > > $cfg['logger']['name']        = '';
>
> > > Are the domains to-be-created inserted into database tables?
>
> > > The distribution doesn't matter, what PHP version and what MySQL
> > > version do you use?
>
> > [1]http://pear.php.net/package/Log
>
> Hi,
>
> this is my configuration:
>     PHP Version 5.2.6-1+lenny3
>     MySQL 5.0.51a-24+lenny1
>
> In the meantime I found, that PECL::idn was missing
> error: apache2.log idn_to_utf8 not found
>
> So I downloadedhttp://pecl.php.net/get/idn
> I tried to install the package but
>           $./configure --with-idn
> didn't work because of a missing path (see below)
> I also reinstalled libidn11 (Debian-package)
>
> Does anyone know, what to do ?
> Thank you
> Ralf
>
> -------------------8>--------------------------------------------------
> $ ./configure --with-idn
>    checking for grep that handles long lines and -e... /bin/grep
>    checking for egrep... /bin/grep -E
>    checking for a sed that does not truncate output... /bin/sed
>    checking for gcc... gcc
>    checking for C compiler default output file name... a.out
>    checking whether the C compiler works... yes
>    checking whether we are cross compiling... no
>    checking for suffix of executables...
>    checking for suffix of object files... o
>    checking whether we are using the GNU C compiler... yes
>    checking whether gcc accepts -g... yes
>    checking for gcc option to accept ISO C89... none needed
>    checking whether gcc and cc understand -c and -o together... yes
>    checking for system library directory... lib
>
>    checking if compiler supports -R... no
>
>    checking if compiler supports -Wl,-rpath,... yes
>    checking build system type... x86_64-unknown-linux-gnu
>    checking host system type... x86_64-unknown-linux-gnu
>    checking target system type... x86_64-unknown-linux-gnu
>    checking for PHP prefix... /usr
>    checking for PHP includes... -I/usr/include/php5 -I/usr/include/
> php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/
> include/php5/ext -I/usr/include/php5/ext/date/lib
>    checking for PHP extension directory... /usr/lib/php5/20060613
>    checking for PHP installed headers prefix... /usr/include/php5
>    checking for re2c... re2c
>    checking for re2c version... 0.13.5 (ok)
>    checking for gawk... gawk
>    checking for GNU Libidn support... yes, shared
>
>    checking for idn files in default path... not found
>    configure: error: Please reinstall the GNU Libidn distribution
>
> -------------------
> <8--------------------------------------------------

Hi, after reading and searching a little I solved this:

apt-get install php5-dev
apt-get install make
apt-get install php-pear
pecl install idn
apt-get install idn
apt-get install libidn11-dev

download latest release
"download latest" from http://pecl.php.net/package/idn

pear install idn-0.2.0.tgz

don't forget to add
"extension=idn.so" to /etc/php5/apache2/php.ini

now restart apache2
/etc/init.d/apache2 restart

now everything works fine.
Ralf

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Openmailadmin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.de/group/openmailadmin?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to