Wednesday, May 19, 2010

Enabling DOM XML in PHP4

The following function will not work unless XML support is enabled in php

$xmldoc=domxml_new_doc();

In order to enable support edit php.ini and remove ; from

;php_domxml.dll

You must insure that the dlls directory c:\php4\dlls in in the system PATH variable.
Do change this : right click on my computer and choose properties
in properties click on advanced and at the bottom of the window click on
Enviroment variables

under system variables choose the path variable. and add the path to your dlls directory
with a ;
ie

;c:\php4\dlls

Your DOM functions should now work

Friday, May 14, 2010

Installing CRUL for nusoap

If you install the soap api nusoap, you will need to install phps curl support.

To do this edit your php.ini file and uncomment

;extension=php_curl.dll

by removing the semi colon.

You must then copy the dlls

libeay32.dll.old
ssleay32.dll.old


from directory c:\php4\dlls

to
c:\windows\system32

Stop and restart your webserver using
net stop apache
net start apache

phpinfo() should now report that cURL is istalled