PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I've the following code, there is an error but I can't quite figure it out. If someone see something wrong with the code, please shed some light. Thanks...
Fatal error: Call to undefined function bind_textdomain_codeset() in /Users/Jesper/Documents/workspace/neptunediving.com/inc/config.php on line 47
To include GNU gettext support in your PHP build you must add the option --with-gettext[=DIR] where DIR is the gettext install directory, defaults to /usr/local.
Yes but i have tried and i do not get it to work. Could you please xplain to me one time in detail how to make this and from where?
I have tried a few ways already via the terminal but i have to got this to work yet. Please help me because i have to idea how to get this up and running now.
I have another thread here where i have tried to explain my problem. Maybe this could help you understand better what my problem is, viewtopic.php?f=1&t=129295
Ok, but as you can see in my other thread here i have tried this but i don't get it to work. I understand what you are saying but i don't know how and where exactly to install gettext to get this working? At the moment my /usr/local have only this;
bin
mysql
mysql-5.1.50
share
My gettext are located here what i can see at the moment, /opt/local/var/macports/distfiles/gettext/gettext-0.17
Sow hat do i need to do from here then to get this work and placed in the right folder?
I have now put gettext.so here /usr/lib/php/extensions/no-debug-non-zts-20090626/gettext.so
I have also tried to add extension=gettext.so in the php.ini file. Somebody told me that ;extension=php_gettext.dll is for windows so i should take this away and exchange it with extension=gettext.so and without the rem sign. I have tried to restart my server and i have checked my script file i did like this;
I created a php script like this,
<?php
phpinfo();
But i still have the same problem. So what would the next step be to trying solving this problem?