Re: Re: error: loading extensions / php_xslt.dll on win32

From: Date: Sat, 14 Sep 2002 12:10:00 +0000
Subject: Re: Re: error: loading extensions / php_xslt.dll on win32
References: 1 2  Groups: php.general php.windows 
Request: Send a blank email to php-general+get-116365@lists.php.net to get a copy of this message
hi ignatius, additionally i found out, that the => xslt_base_dir() needs a local base dir beginning with the "file://" protocol otherwise sablotron causes this strange error message: "Sablotron error on line 1: XML parser error 4: not well-formed (invalid token)" which should better say: "http://" protocol is not allowed for xslt file input !!! thanks anyway, have a nice weekend, mailto: marco.siegl@remslakecity.de ----- Original Message ----- From: "Ignatius Reilly" <ignatius.reilly@free.fr> To: "Marco Siegl" <marco.siegl@remslakecity.de>; <php-general@lists.php.net>; <php-windows@lists.php.net> Sent: Saturday, September 14, 2002 11:01 AM Subject: Re: [PHP-WIN] Re: error: loading extensions / php_xslt.dll on win32 > You have a very nice function (PHP 4.0.5+): > > xslt_set_base() > > This instructs the processor to fetch your XSLT file from a location you > specify. I use it and it works well, but I remember having trouble when > trying to specify relative URIs; you must definitely use absolute paths > > Also from my experience: xslt_process() does NOT work if you specify XML and > XSLT content as URIs files and try at the same time to pass arguments or > variables. You must first load the content of your XML and XSLT files into > arguments. > > HTH > > Ignatius > > "L'avantage d'être borgne, c'est qu'il faut deux fois moins de temps > pour > s'habituer à l'obscurité" > > ____________________________________________ > ----- Original Message ----- > From: "Marco Siegl" <marco.siegl@remslakecity.de> > To: <php-general@lists.php.net>; <php-windows@lists.php.net> > Sent: Saturday, September 14, 2002 9:34 AM > Subject: [PHP-WIN] Re: error: loading extensions / php_xslt.dll on win32 > > > > Hi, > > > > after trying weird behaviour of php on my win32, > > i found a rersolution to the php_xslt.dll extension installting problem > > but not for using the xslt functions: > > > > first: > > in your php.ini, you have to write: extension_dir = c:/php/extensions > > no extra slashes, foward slashes, backward slashes, no "" or anything > else. > > > > second: > > copy the 4 following .dll's to your windows/system32 directory > > - php/php4ts.dll > > - php/extensions/php_xslt.dll > > - php/dlls/expat.dll > > - php/dlls/sablot.dll > > > > after that copying process, simply restart your apache webserver. > > (no full reboot is needed.) > > > > ... and now you'll see the xslt enabled flag in phpinfo() > > > > => you think it works, BUT... > > there is something wrong with sablotron or apache, because if you use the > > xslt_process() function, sablotron tries to read the foo.xslt from > Apaches' > > ServerRoot, > > (a local path, e.g. "c:\program files\apache\apache group\foo.xslt") > > instead of reading it > > from Apaches' DocumentRoot - any suggestions? > > > > Ok, i tried using local path for reading the foo.xslt to process and > > sablotron replies > > with a "unknown encoding" error - the output file is empty, no log file is > > created > > while using the xslt_set_log() function. - again any suggestions? > > > > This strange behaviour - that there is at the moment no possible way to > > generate from > > xml and xslt using sablotron (php_xslt.dll) on win32 - forces me to look > for > > another possibility. > > > > Sad, but true ... the blending nightmare has to come to an end. > > PHP says, it offers your powerful xslt functions, but you can't use them. > > > > any help would be very appreciated, > > mailto: marco.siegl@remslakecity.de > > > > > > ----- Original Message ----- > > From: "Marco Siegl" <marco.siegl@remslakecity.de> > > Newsgroups: php.general > > To: <php-general@lists.php.net> > > Sent: Friday, September 13, 2002 4:05 AM > > Subject: error: loading extensions / php_xslt.dll on win32 > > > > > > > hi there @php.net, > > > please, can you help me enabling the extensions in php? > > > > > > i tried for hours to accomplish the right settings, but it seems, the > > > solution is out > > > of reach. you'll find a mini screenshot of my error message so you'll > see > > > exactly > > > what i mean. > > > > > > machine details: php v4.2.3, apache v2.0.40., winXP > > > > > > php is installed in "c:\system\php\" > > > the 'extensiom_dir' in the php.ini is > > > "c:\system\php\extensions\" > > > > > > i only found little information about people having the same trouble, > and > > i > > > tried > > > copying the *.dll files from the php/dlls and php/extensions dir to > > > "c:windows, > > > c:\windows\system, c:\windows\system32" - but no effect. > > > > > > thank you in advance, > > > mailto marco.siegl@remslakecity.de > > > > > > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > >

« previous php.general (#116365) next »