sh setup.sh to run composer: should check PHP version before trying to run Composer
- Status
- Closed
- Subject
- sh setup.sh to run composer: should check PHP version before trying to run Composer
- Version
- 11.x
11.x Regression
12.x - Category
- Usability
- Conflict of two features (each works well independently)
- Feature
- Installer (profiles, upgrades and server-related issues)
- Resolution status
- Fixed or Solved
- Submitted by
- Marc Laporte
- Volunteered to solve
- Frank Guthausen
- Lastmod by
- Frank Guthausen, lindon
- Rating
- Description
Before Composer (until Tiki10), if you try to run Tiki with a too old version of PHP, you get a clear warning. Now, with Composer, it's not so clear (you get the version warning of Composer instead of Tiki)
Note that the command line version of PHP may be different than the web version.
Command-Line PHP version: PHP 5.3 is needed Composer.
Web version of PHP: Tiki12 needs 5.3, Tiki13 will need 5.5So perhaps for Tiki 13, it will be OK to have PHP 5.3 requirement on CLI, but 5.5 in web?
So for now, let's add a PHP CLI version check on sh setup.sh before running Composer.
Please see:
http://tiki.org/tiki-view_forum_thread.php?comments_parentId=48901- Importance
- 7
- Easy to solve?
- 6
- Priority
- 42
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4721
- Created
- Thursday 05 September, 2013 18:24:08 UTC
by Marc Laporte - LastModif
- Sunday 18 June, 2017 22:59:03 UTC