pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Wenk <a.wenk@netzmeister-st-pauli.de>
To: jeroen@madmemelabs.com
To: pgsql-php@postgresql.org
Subject: Re: Enabling Multibyte in postgresql / drupal Mac OS X Leopard stack
Date: Tue, 02 Dec 2008 21:36:58 +0100
Message-ID: <49359C6A.1070902@netzmeister-st-pauli.de> (raw)
In-Reply-To: <20081202132612.bktcy3va5cg8wg4s@www.madmemelabs.com>
References: <20081202132612.bktcy3va5cg8wg4s@www.madmemelabs.com>

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] => ISO-8859-1
     [http_input] =>
     [http_output] => pass
     [func_overload] => 7
     [func_overload_list] => Array
         (
             [mail] => mb_send_mail
             [strlen] => mb_strlen
             [strpos] => mb_strpos
             [strrpos] => mb_strrpos
             [stripos] => mb_stripos
             [strripos] => mb_strripos
             [strstr] => mb_strstr
             [strrchr] => mb_strrchr
             [stristr] => mb_stristr
             [substr] => mb_substr
             [strtolower] => mb_strtolower
             [strtoupper] => mb_strtoupper
             [substr_count] => mb_substr_count
             [ereg] => mb_ereg
             [eregi] => mb_eregi
             [ereg_replace] => mb_ereg_replace
             [eregi_replace] => mb_eregi_replace
             [split] => mb_split
         )

     [mail_charset] => UTF-8
     [mail_header_encoding] => BASE64
     [mail_body_encoding] => BASE64
     [illegal_chars] => 0
     [encoding_translation] => Off
     [language] => neutral
     [detect_order] => Array
         (
             [0] => ASCII
             [1] => UTF-8
         )

     [substitute_character] => 63
     [strict_detection] => 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 MAC.

Cheers

Andy

-- 
----------------------------------
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
> 
> -- 
> -jeroen
> 
> 
> 





view thread (6+ messages)  latest in thread

Message-ID: <49359C6A.1070902@netzmeister-st-pauli.de>
Permalink:  ../49359C6A.1070902@netzmeister-st-pauli.de/
Also on:    postgresql.org/message-id/49359C6A.1070902@netzmeister-st-pauli.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: a.wenk@netzmeister-st-pauli.de, jeroen@madmemelabs.com
  Subject: Re: Enabling Multibyte in postgresql / drupal Mac OS X Leopard stack
  In-Reply-To: <49359C6A.1070902@netzmeister-st-pauli.de>
  References: <20081202132612.bktcy3va5cg8wg4s@www.madmemelabs.com> <49359C6A.1070902@netzmeister-st-pauli.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox