idn and intl php modules
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. George
  2. 10.12.2012
  3.  Subscribe via email
php selector error 500
Rate this post:
  1. 10.12.2012 05:12:01
  2. # 1
George Accepted Answer
Posts: 7
Joined: 06.12.2012
0
Votes
Undo
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. 
  1. 10.12.2012 10:12:10
  2. # 2
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
Thanks. We will do that.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.