Skip to content

Commit

Permalink
Update README.md to remove references to PHP5
Browse files Browse the repository at this point in the history
  • Loading branch information
ywarnier authored Mar 13, 2024
1 parent cfcc4c2 commit 25f6db2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ You need to have curl (in order to download packages required to build chash.pha

apt-get install php-curl

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 (make sure you have PHP5 enabled on the command line):
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:

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

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

Expand All @@ -86,7 +86,7 @@ In detail:
composer update --no-dev
php -d phar.readonly=0 createPhar.php

If you're using php 5.3 with suhosin, the phar will not be executed. You can try this:
If you're using php with suhosin, the phar might not be executed. You can try this:

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

Expand Down

0 comments on commit 25f6db2

Please sign in to comment.