You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have configured Chash globally (see below), from any Chamilo directory:
50
50
@@ -56,18 +56,18 @@ Building the chash.phar file
56
56
57
57
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.
58
58
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)
60
60
61
-
apt-get install php-curl
61
+
apt-get install php-curl php-cli
62
62
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:
64
64
65
65
curl -sS https://getcomposer.org/installer | php
66
66
php composer.phar update --no-dev --prefer-dist
67
67
68
68
In order to generate the executable chash.phar file. You have to set first this php setting (in your cli php configuration file).
69
69
70
-
For example in Ubuntu /etc/php5/cli/php.ini
70
+
For example in Ubuntu /etc/php/7.4/cli/php.ini
71
71
72
72
phar.readonly = Off
73
73
@@ -90,7 +90,7 @@ If you're using php with suhosin, the phar might not be executed. You can try th
0 commit comments