Installing XSL for PHP
The Hard Way
This link covers almost any kind of server or PHP setup, but it's very complicated:
Configuring and Testing PHP Servers for XSL Support
http://flex.sys-con.com/node/200299
Other notes on "Recompiling with XSLT support"
https://forums.misdivision.com/archive/index.php/t-188.html
The Debian Way (and so, the Agaric way)
Meanwhile, Debian instructions gleaned from http://www.howtoforge.com/simple_invoices_debian_etch are very wonderfully simple:
ben@server:~$ sudo aptitude install php5-xsl
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be automatically installed:
libxslt1.1
The following packages have been kept back:
linux-image-2.6-686
The following NEW packages will be installed:
libxslt1.1 php5-xsl
0 packages upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 228kB of archives. After unpacking 532kB will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Get:1 http://http.us.debian.org etch/main php5-xsl 5.2.0-8+etch11 [12.2kB]
Get:2 http://security.debian.org etch/updates/main libxslt1.1 1.1.19-3 [216kB]
Fetched 228kB in 1s (168kB/s)
Selecting previously deselected package libxslt1.1.
(Reading database ... 30750 files and directories currently installed.)
Unpacking libxslt1.1 (from .../libxslt1.1_1.1.19-3_i386.deb) ...
Selecting previously deselected package php5-xsl.
Unpacking php5-xsl (from .../php5-xsl_5.2.0-8+etch11_i386.deb) ...
Setting up libxslt1.1 (1.1.19-3) ...
Setting up php5-xsl (5.2.0-8+etch11) ...
XSLT Reference
http://us3.php.net/manual/en/xsl.setup.php - again, as far as setup is concered, Debian's aptitude seems to have us covered.
http://php.rinet.ru/manual/en/ref.xslt.php
Comments
Post new comment