Solved

Call to undefined function bindtextdomain()

Posted on 2009-07-03
3
4,279 Views
Last Modified: 2013-12-13
i am getting this on one of the php pages
Fatal error: Call to undefined function bindtextdomain() in /var/www/vhosts/domain.com/httpdocs/lib/util.php on line 57

i tried to install php-gettext, but i get error on

apt-get install php-gettext

The following packages have unmet dependencies:
  php-gettext: Depends: php4 (>= 4.2.0) but it is not going to be installed or
                        php5 but it is not going to be installed

php4 4.3.10-18 is already installed on the server and also php5 5.2.0-0.dotdeb.3

the server also has plesk installed.

Why is apt giving this error?

0
Comment
Question by:krisdigitx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 17

Expert Comment

by:jasonsbytes
ID: 24772450
Do you have more than one install of PHP and maybe when you run it, it is seeing the older version?
0
 
LVL 5

Expert Comment

by:Opalelement
ID: 24773650
Are you sure you sent both parameters to the function?

string bindtextdomain ( string $domain , string $directory )
0
 

Accepted Solution

by:
krisdigitx earned 0 total points
ID: 25848143
upgrading php worked
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question