Click to See Complete Forum and Search --> : php's XML extensions on Win2k
Hi,
I can't seem to get php to recognise the xmldom libraries. I have edited the php.ini file to enable the appropriate functions but running a script throws up a windows error box on our server saying that the system was unable to find the dynamic library php_domxml.dll...it appears to be looking for this in a directory called "./" which is also specified in the php.ini file. I have tried replacing this with the absolute location of the dll file but it still throws up this error. Does anyone know where the dlls should sit? i've tried moving them into c:, c:/winnt & c:/winnt/system32 (the php.ini file is in c:/winnt).
thanks for your help!
s
ame12
06-27-2001, 06:26 AM
Try php4ts.dll, libsasl.dll and the other extensions you need are in the system32 directory. Also make sure php.ini is in winnt. BTW I have had a devil of a time getting the DOM stuff to work, at least w/IIS. The SAX stuff will probably work better IMO.
RW
===========================================
http://badblue.com
Small footprint P2P web server for Windows,
Share files, get PHP up and running fast...
===========================================
I need xmldom library, do you know where can I get it?
Thanks in advance.
Hi Randy,
Thanks for your reply. Tried what you said but still cant get php to find the actual .dll file
s
Try set the correct path in PHP.INI at extension_dir.
This is part of my php.ini
; EXTENSION DIRECTORY
extension_dir = "D:\programs2000\PHP\extensions\"
; EXTENSIONS
;extension=php_bz2.dll
;extension=php_ctype.dll
;extension=php_cpdf.dll
;extension=php_curl.dll
;extension=php_cybercash.dll
;extension=php_db.dll
;extension=php_dba.dll
;extension=php_dbase.dll
extension=php_domxml.dll ; <-- Enable the module
;extension=php_dotnet.dll
;
I hope this is helpful
i tried what you said...in this case my php extensions library is in e:\php\extensions....however the error i get is very strange:
"unable to load dynamic library 'E:\PHP\extensionts\php_domxml.dll'-The specified procedure could not be found.
??
If you want i can send you my php.ini so you can check the equivalent settings on your machine.
Send me a response with your email address so I can send you a zip copy of my php.ini
I have a similar error :(
PHP Warning: Unable to load dynamic library 'c:\php406\php_domxml.dll' - One of
the library files needed to run this application cannot be found.
in Unknown on line 0
The php ini points to the correct file that i have written in this directory and in system also
although i noticed that when i had in php.ini
the "c:\php406" now i have "c:\php406\"
the error was in the path
'c:\php406/php_domxml.dll'
It was changing the slash ??? !!
please help
I moved php_domxml.dll to \winnt\system32\
and needed libraries from .\dlls\ also to same directory.
restart apache, and it will work.
Also, make sure you have got libxml2.dll somewhere where it can be found.. (for example, i put it in the "d:\php" directory and it worked)
Anyway for more information about your own problem over there try to execute php.exe from the command line, for some unclear reason it will result in a more detail alert of what is wrong.
G'luck
PHP Builder
Copyright Internet.com Inc. All Rights Reserved.