Skip to content

Commit 3d9aaa9

Browse files
authored
Update README.md to remove references to an unexisting 1.0 branch and PHP5
1 parent 25f6db2 commit 3d9aaa9

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Installation
1414
composer install
1515

1616
Note: If you don't have Composer installed, check http://getcomposer.org/download/
17-
Note: To use Chash with PHP 7.0 or lower, please use branch 1.0: `git clone -b 1.0 https://github.com/chamilo/chash.git`
17+
Note: To use Chash with PHP 7.4 and Chamilo 1.11, please use branch 0.1: `git clone -b 0.1 https://github.com/chamilo/chash.git`
1818

1919
Usage
2020
====================
@@ -27,9 +27,9 @@ In a Chamilo installation folder located in "/var/www/chamilo"
2727
php /path/chash/chash.php chamilo:status
2828

2929
Chamilo $_configuration info:
30-
Chamilo $_configuration[root_web]: http://localhost/chamilo-1.8.7.1-stable/
31-
Chamilo $_configuration[root_sys]: /var/www/chamilo-1.8.7.1-stable/
32-
Chamilo $_configuration[main_database]: chamilo18777_chamilo_main
30+
Chamilo $_configuration[root_web]: http://localhost/chamilo-1.11.26-stable/
31+
Chamilo $_configuration[root_sys]: /var/www/chamilo-1.11.26-stable/
32+
Chamilo $_configuration[main_database]: chamilo11126_chamilo_main
3333
Chamilo $_configuration[db_host]: localhost
3434
Chamilo $_configuration[db_user]: root
3535
Chamilo $_configuration[db_password]: root
@@ -38,13 +38,13 @@ In a Chamilo installation folder located in "/var/www/chamilo"
3838
Chamilo $_configuration[table_prefix]:
3939

4040
Chamilo database settings:
41-
Chamilo setting_current['chamilo_database_version']: 1.9.0.18715
42-
Chamilo $_configuration[system_version]: 1.9.6
41+
Chamilo setting_current['chamilo_database_version']: 1.11.0.12345
42+
Chamilo $_configuration[system_version]: 1.11.26
4343

4444

45-
Inside a chamilo folder execute db:sql_cli in order to enter to the SQL client of the Chamilo database:
45+
Inside a chamilo folder execute `db:sql_cli` (or `dbc` for shorts) in order to enter to the SQL client of the Chamilo database:
4646

47-
php /path/chash.php db:sql_cli --conf=main/inc/conf/configuration.php
47+
php /path/chash.php dbc --conf=main/inc/conf/configuration.php
4848

4949
If you have configured Chash globally (see below), from any Chamilo directory:
5050

@@ -56,18 +56,18 @@ Building the chash.phar file
5656

5757
This procedure is only required once, and is generally for developers. If you update chash frequently, you'll have to go through this each time you update, but never more than that.
5858

59-
You need to have curl (in order to download packages required to build chash.phar)
59+
You need to have curl and PHP-CLI (in order to download packages and build chash.phar)
6060

61-
apt-get install php-curl
61+
apt-get install php-curl php-cli
6262

63-
If you don't have composer installed on your computer, you can just do the following to download and install it and run the command above:
63+
If you don't have composer installed on your computer, you can just do the following to download and install it and run the command above. Check https://getcomposer.org/download/ for updated versions:
6464

6565
curl -sS https://getcomposer.org/installer | php
6666
php composer.phar update --no-dev --prefer-dist
6767

6868
In order to generate the executable chash.phar file. You have to set first this php setting (in your cli php configuration file).
6969

70-
For example in Ubuntu /etc/php5/cli/php.ini
70+
For example in Ubuntu /etc/php/7.4/cli/php.ini
7171

7272
phar.readonly = Off
7373

@@ -90,7 +90,7 @@ If you're using php with suhosin, the phar might not be executed. You can try th
9090

9191
php -d suhosin.executor.include.whitelist="phar" chash.phar
9292

93-
or you can change this setting in your /etc/php5/cli/conf.d/suhosin.ini file
93+
or you can change this setting in your /etc/php/7.4/cli/conf.d/suhosin.ini file
9494
(look for "executor"), although this might increase the vulnerability of your
9595
system. The location of the file may vary depending on your operating system.
9696

0 commit comments

Comments
 (0)