?
Solved

Call to undefined function bindtextdomain()

Posted on 2009-07-03
3
Medium Priority
?
4,336 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

770 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