Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Call to undefined function bindtextdomain()

Posted on 2009-07-03
3
Medium Priority
?
4,417 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 learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
This article discusses four methods for overlaying images in a container on a web page
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 look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

650 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