Skip to content

Commit 130ed83

Browse files
authored
Update docs for changes in OSes
1 parent fbca7b4 commit 130ed83

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ basis.
1616

1717
# Requirements
1818
If you want to have LDAP support you need to have the PHP LDAP extension
19-
installed, `yum install php-ldap` (Fedora) or `apt-get install php5-ldap`
19+
installed, `yum install php-ldap` (Fedora) or `apt install php-ldap`
2020
(Debian). If you want to have database support you need to have the PDO
2121
extension and the relevant platform drivers installed, `yum install php-pdo`
22-
(Fedora) or `apt-get install php5-sqlite` (Debian).
22+
(Fedora) or `apt install php-sqlite3` (Debian).
2323

2424
# Installation
2525
We assume you want to install in `/var/www/html/php-voot-provider` and that
@@ -30,12 +30,17 @@ Below are instructions to install a release or from Git. They assume you have
3030
`root` permissions, but of course you can also create a directory under your
3131
web server directory root with user writable permissions and run the commands
3232
as a normal user.
33+
## From Release
34+
If you [download a release](https://github.com/OpenConextApps/php-voot-provider/releases)
35+
you do not need to run Composer yourself as all the dependencies are already
36+
included. You can just extract the release in `/var/www/html/php-voot-provider`
37+
and continue.
3338

3439
## From Git
3540
You need [Composer](http://getcomposer.org) to install the dependencies.
3641

3742
# cd /var/www/html
38-
# git clone https://github.com/fkooman/php-voot-provider.git
43+
# git clone https://github.com/OpenConextApps/php-voot-provider.git
3944
# cd php-voot-provider
4045
# php /path/to/composer.phar install
4146

@@ -47,11 +52,6 @@ with SELinux you may need to give it permission to connect to LDAP servers:
4752

4853
# setsebool -P httpd_can_connect_ldap=on
4954

50-
## From Release
51-
If you download a release you do not need to run
52-
[Composer](http://getcomposer.org) yourself as all the dependencies are already
53-
included. You can just extract the release in `/var/www/html/php-voot-provider`
54-
and continue.
5555

5656
## Apache
5757
You need to install a little Apache configuration snippet to point to the `web`
@@ -66,7 +66,8 @@ the REST service is located.
6666
</Directory>
6767

6868
You can place this in `/etc/httpd/conf.d/php-voot-provider.conf` on Fedora, or
69-
`/etc/apache2/conf.d/php-voot-provider.conf` on Debian.
69+
on Debian in `/etc/apache2/conf-available/php-voot-provider.conf` and run
70+
`a2enconf php-voot-provider`.
7071

7172
# Configuration
7273
You can configure both a database or a LDAP as a backend.

0 commit comments

Comments
 (0)