Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 335c564

Browse files
committed
Merge pull request #128 from symfony-cmf/jackalope-requirements
document jackalope requirements
2 parents d0b971e + 736e0ac commit 335c564

File tree

3 files changed

+20
-13
lines changed

3 files changed

+20
-13
lines changed

bundles/phpcr-odm.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Out of the box, this bundle supports the following PHPCR implementations:
2222
This bundle is based on the AbstractDoctrineBundle and thus is similar to the
2323
configuration of the Doctrine ORM and MongoDB bundles.
2424

25-
Setup
26-
-----
25+
Setup and Requirements
26+
----------------------
2727

2828
See :doc:`../tutorials/installing-configuring-doctrine-phpcr-odm`
2929

cookbook/installing-cmf-sandbox.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,15 @@ setup, please refer to:
1515

1616
.. index:: sandbox, install
1717

18-
Preconditions
19-
-------------
18+
Requirements
19+
------------
2020

2121
As Symfony CMF Sandbox is based on Symfony2, you should make sure you
2222
meet the `Requirements for running Symfony2 <http://symfony.com/doc/current/reference/requirements.html>`_.
2323
`Git 1.6+ <http://git-scm.com/>`_, `Curl <http://curl.haxx.se/>`_ and PHP Intl are
2424
also needed to follow the installation steps listed below.
2525

26-
If you wish to use Jackalope + Apache JackRabbit as the storage medium (recommended),
27-
you will also need Java (JRE). For other mechanisms and its requirements,
28-
please refer to their respective sections.
26+
For the PHPCR repository requirements, see :ref:`PHPCR-ODM requirements <tutorials-phpcr-odm-requirements>`
2927

3028
Installation
3129
------------

tutorials/installing-configuring-doctrine-phpcr-odm.rst

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,19 @@ Finally for information about PHPCR see the `official PHPCR website <http://phpc
2222

2323
.. index:: PHPCR, ODM
2424

25-
Preconditions
26-
-------------
27-
- php >= 5.3
28-
- libxml version >= 2.7.0 (due to a bug in libxml http://bugs.php.net/bug.php?id=36501)
29-
- phpunit >= 3.6 (if you want to run the tests)
30-
- Symfony2 (version 2.1.x)
25+
26+
.. _tutorial-phpcr-odm-requirements:
27+
28+
Requirements
29+
------------
30+
31+
* Symfony2 (version 2.1 or newer)
32+
* phpunit >= 3.6 (if you want to run the tests)
33+
* When using **jackalope-jackrabbit**: Java, Apache Jackalope and libxml
34+
version >= 2.7.0 (due to a `bug in libxml`_)
35+
* When using **jackalope-doctrine-dbal with MySQL**: MySQL >= 5.1.5
36+
(as you need the xml function ``ExtractValue``)
37+
3138

3239
Installation
3340
------------
@@ -356,3 +363,5 @@ The bundle provides a ``ValidPhpcrOdm`` constraint validator you can use to chec
356363
protected $parent;
357364
358365
...
366+
367+
.. _`bug in libxml`: http://bugs.php.net/bug.php?id=36501)

0 commit comments

Comments
 (0)