Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 6EEFE64FDB3 for ; Tue, 2 Dec 2008 17:32:05 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 74150-02 for ; Tue, 2 Dec 2008 17:32:02 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from secure10.ia-dns.com (secure10.ia-dns.com [72.9.151.105]) by mail.postgresql.org (Postfix) with ESMTP id 83BB464FD9F for ; Tue, 2 Dec 2008 17:32:02 -0400 (AST) Received: from localhost ([127.0.0.1]) by secure10.ia-dns.com with esmtpa (Exim 4.69) (envelope-from ) id 1L7cqV-0001bu-Cf; Tue, 02 Dec 2008 15:31:51 -0600 Received: from 12.189.20.126 ([12.189.20.126]) by www.madmemelabs.com (Horde MIME library) with HTTP; Tue, 02 Dec 2008 15:31:51 -0600 Message-ID: <20081202153151.raq85svpwgkwocks@www.madmemelabs.com> Date: Tue, 02 Dec 2008 15:31:51 -0600 From: jeroen@madmemelabs.com To: Andreas Wenk Cc: pgsql-php@postgresql.org Subject: Re: Enabling Multibyte in postgresql / drupal Mac OS X Leopard stack References: <20081202132612.bktcy3va5cg8wg4s@www.madmemelabs.com> <49359C6A.1070902@netzmeister-st-pauli.de> In-Reply-To: <49359C6A.1070902@netzmeister-st-pauli.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-ia-dns-MailScanner-Information: Please contact the ISP for more information X-ia-dns-MailScanner-ID: 1L7cqV-0001bu-Cf X-ia-dns-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-ia-dns-MailScanner-SpamCheck: X-ia-dns-MailScanner-From: jeroen@madmemelabs.com X-ia-dns-MailScanner-Watermark: 1228858313.46186@GKCOhwCs+EF12aQcA1BhTA X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - secure10.ia-dns.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - madmemelabs.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.819 tagged_above=0 required=5 tests=MIME_QP_LONG_LINE=1.819 X-Spam-Level: * X-Archive-Number: 200812/4 X-Sequence-Number: 3938 Hi Andreas, this is helpful. I'll give it a try. much thanks -jeroen Quoting Andreas Wenk : > Hi Jerone, > > I am running a MAC Leopard 10.5.5. Installed is the entropy php / > postgresql package. I just added the following lines to one of the > vhost container: > > php_value mbstring.func_overload 7 > > After restarting apache and calling mb_get_info(), I recieve this result: > > Array > ( > [internal_encoding] =3D> ISO-8859-1 > [http_input] =3D> > [http_output] =3D> pass > [func_overload] =3D> 7 > [func_overload_list] =3D> Array > ( > [mail] =3D> mb_send_mail > [strlen] =3D> mb_strlen > [strpos] =3D> mb_strpos > [strrpos] =3D> mb_strrpos > [stripos] =3D> mb_stripos > [strripos] =3D> mb_strripos > [strstr] =3D> mb_strstr > [strrchr] =3D> mb_strrchr > [stristr] =3D> mb_stristr > [substr] =3D> mb_substr > [strtolower] =3D> mb_strtolower > [strtoupper] =3D> mb_strtoupper > [substr_count] =3D> mb_substr_count > [ereg] =3D> mb_ereg > [eregi] =3D> mb_eregi > [ereg_replace] =3D> mb_ereg_replace > [eregi_replace] =3D> mb_eregi_replace > [split] =3D> mb_split > ) > > [mail_charset] =3D> UTF-8 > [mail_header_encoding] =3D> BASE64 > [mail_body_encoding] =3D> BASE64 > [illegal_chars] =3D> 0 > [encoding_translation] =3D> Off > [language] =3D> neutral > [detect_order] =3D> Array > ( > [0] =3D> ASCII > [1] =3D> UTF-8 > ) > > [substitute_character] =3D> 63 > [strict_detection] =3D> Off > ) > > Means, it works. > > I don't think that your problem is a drupal /mediawiki with postgresql > problem, but an apache php problem. > > Do you have a mbstring entry when you call phpinfo() ? > > Again, I don't know if that helps. It's just a hint that it works on my MA= C. > > Cheers > > Andy > > --=20 > ---------------------------------- > Netzmeister St.Pauli > > St.Pauli - Hamburg - Germany > > > jeroen@madmemelabs.com schrieb: >> I recently downloaded and installed postgresql and drupal and >> mediawiki for Mac OS Leopard, using the stack from postgresql.org. >> >> It is very cool! >> >> However, the drupal admin states that php multibyte strings (mbstring) >> is not enabled. >> I tried following the instructions on various searches, without success. >> >> If any one has been able to enable php mbstring on Mac OS Leopard php >> for drupal / mediawiki, using postgresql as their dbs, please let me >> know. >> >> Any information would be much appreciated. >> >> thanks >> >> --=20 >> -jeroen >> >> >> > > > > --=20 > Sent via pgsql-php mailing list (pgsql-php@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-php