User login

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

Resolution

Searched words: 
xlst XML php installing with xsl libxslt xsl php debian configure

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.