Re: "Call to undefined function: domxml_new_xmldoc() insql2xml.php

From: Date: Sun, 23 Mar 2003 16:00:50 +0000
Subject: Re: "Call to undefined function: domxml_new_xmldoc() insql2xml.php
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4386@lists.php.net to get a copy of this message
On Sun, 23 Mar 2003 16:11:12 +0100, ralf.pfeiffer@hohenloher-immobilien.de (Pfeiffer-Koberstein Immobilien Gbr - Ralf Pfeiffer) wrote: >in my php.ini, there is defined "extension=php_domxml.dll". In order to >aktivate this extension, I took away the semicolon. But now, the server >doesn't interpretate the php-scripts anymore. The other html-pages still >work fine. I suppose that this must be because of the wrong defintion of the >pathes to these extensions in Apache\htdocs\php4\extensions. The php.ini is >in the php4 directory. >In the php.ini, I set: >extension_dir = \extensions > >Do I still have to define a include path like this? > >include_path = ".;c:\programme\apache\htdocs\php4\extensions" > >thanks for your help > > >----- Original Message ----- >From: Martin Jansen <mj@php.net> >To: Pfeiffer-Koberstein Immobilien GbR - Ralf Pfeiffer ><ralf.pfeiffer@hohenloher-immobilien.de> >Cc: <pear-general@lists.php.net> >Sent: Sunday, March 23, 2003 12:41 PM >Subject: Re: [PEAR] "Call to undefined function: domxml_new_xmldoc() >insql2xml.php > > >> Am Sam, 2003-03-22 um 23.58 schrieb Pfeiffer-Koberstein Immobilien GbR - >> Ralf Pfeiffer: >> > I installed the pear installer, >> > >> > now I got the following message, that the domxml_new_xmldoc() is missing >(and other functions), when I made the following example >> > "Call to undefined function: domxml_new_xmldoc() in >c:\programme\apache\htdocs\XML\sql2xml.php on line 220" >> > Where are these functions defined? >> >> They are defined in the PHP extension domxml. Are you sure that your PHP >> version contains this extension? >> >> - Martin >> >> >> -- >> PEAR General Mailing List (http://pear.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> I found that on my Win2k box the easiest thing to do was to first of all use the php zip package instead of the installer. Then copy all of the extension dlls to my %system% dir (i.e. c:\winnt\system32). Then I can enable or disable any of the extensions in my php.ini without any problems unless there are other libraries required for that extension. In that case, you just need to dl and install those. If you are using Win9x the %system% dir is c:\windows\system... I'm pretty sure. It shouldn't be too hard to find in any case. There are also more detailed instructions included in the install.txt that comes with the zip package. Hope this helps. Dan

« previous php.pear.general (#4386) next »