Announcement

Collapse
No announcement yet.

idn and intl php modules

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • idn and intl php modules

    php selector error 500

  • #2
    When both idn and intl modules are sel ected via the php selector the apache returns internal server error with the following in the logs:

    PHP Warning: Function registration failed - duplicate name - idn_to_ascii in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - idn_to_utf8 in Unknown on line 0
    PHP Warning: idn: Unable to register functions, unable to load in Unknown on line 0
    [Mon Dec 10 04:38:31 2012] [warn] [client xxxxxxxxx] (104)Connection reset by peer: mod_fcgid: error reading data fr om FastCGI server
    [Mon Dec 10 04:38:31 2012] [error] [client xxxxxxxxx] Premature end of script headers: i.php

    When only idn or intl is enabled everything works properly. If both are disabled it runs ok as well. The problem occur only when both are active. Do you happen to know if they are incompatible with each other or this might be a result of something else ?

    Thank you.

    UPDATE: From what I have read it seems that "idn" and "intl" both uses idn functions causing the conflict. Many articles suggest disable idn as all functions are covered by the intl. May be a warning in the php selector can be added similar to the apc/memcache/eaccelerator.

    Comment


    • #3
      Thanks. We will do that.

      Comment

      Working...
      X