Page 1 of 1

Am I in the right place?? gettext install help

Posted: Mon Dec 15, 2003 12:24 am
by lig
test server = Apache v1.3.28, php v4.3.3, mysql, OS windows xp

I am trying to include the extension=php_gettext.dll in my php.ini file located in my WINDOWS folder. I have removed the ; before it and copied the .dll from the extension folder over the the main folder (also tried using the extension_dir = "./extensions" and still got the same message) and I am still getting the error:

"Warning Unknown():Unable to load dynamic library './php_gettext.dll' - The specified module could not be found."

My php.ini says:

; Directory in which the loadable extensions (modules) reside.
extension_dir = "./"

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
extension=php_gd2.dll
extension=php_gettext.dll
extension=php_mbstring.dll
;All the rest are inactive


[mbstring]
; language for internal character representation.
mbstring.language = Neutral ; Set default language to neutral(UTF- (default)

; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
mbstring.internal_encoding =

; http input encoding.
mbstring.http_input = pass

; http output encoding. mb_output_handler must be
; registered as output buffer to function
mbstring.http_output = pass

; enable automatic encoding translation accoding to
; mbstring.internal_encoding setting. Input chars are
; converted to internal encoding by setting this to On.
; Note: Do _not_ use automatic encoding translation for
; portable libs/applications.
mbstring.encoding_translation = Off

; automatic encoding detection order.
; auto means
mbstring.detect_order =


; substitute_character used when character cannot be converted
; one from another
;mbstring.substitute_character = none;

; overload(replace) single byte functions by mbstring functions.
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
; etc. Possible values are 0,1,2,4 or combination of them.
; For example, 7 for overload everything.
; 0: No overload
; 1: Overload mail() function
; 2: Overload str*() functions
; 4: Overload ereg*() functions
;mbstring.func_overload = 0


My PHP folder has:

folder BACKUP
folder extensions
folder sessiondata
folder uploadtemp
IISConfig
install.txt
File License
php.exe (interpretor)
php4ts.dll
php_gd2.dll
php_gettext.dll
php_mbstring.dll

So where am I going wrong? What am I missing?

Posted: Mon Dec 15, 2003 1:08 am
by infolock
well, right off i see this

extension_dir = "./"

should be

extension_dir = "c:\path_to_php_directory\extensions\"

mine looks like this :

extension_dir = "c:\php\extensions\"

Did that and still getting error

Posted: Mon Dec 15, 2003 5:02 pm
by lig
Did that and I'm still getting the error

Got some more help

Posted: Mon Dec 15, 2003 8:20 pm
by lig
I got some help in another site and we figured it out. Here is the thread for anyone else with the same problem.

http://codewalkers.com/forum/index.php? ... lm=default