setup.sh: Hardcoded "php" entries
- Status
- Pending
- Subject
- setup.sh: Hardcoded "php" entries
- Version
- 17.x
- Category
- Consistency
- Feature
- Installer (profiles, upgrades and server-related issues)
- Resolution status
- Fix on the Way
- Submitted by
- aexoxea
- Lastmod by
- aexoxea, luci
- Rating
- Description
When locally testing use of setup.sh with a custom PHP binary location (i.e. using the
-poption), I found two instances of hardcoded "php" invocations. All other invocations are done using the "${PHPCLI}" variable, so I figure these are oversights.At this writing, trunk/setup.sh is at r64051. The hardcoded references are at:
Line 553Copy to clipboardcurl -s https://getcomposer.org/installer | php -- --install-dir=tempLine 556Copy to clipboardphp -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));" -- --install-dir=temp- Solution
- Fixed in https://sourceforge.net/p/tikiwiki/code/66223
- Workaround
- In each line, replace "php" with "${PHPCLI}". This is also the fix (unless there's something I don't understand).
- Importance
- 3
- Easy to solve?
- 9
- Priority
- 27
- 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
- 6460
- Created
- Sunday 01 October, 2017 12:22:42 UTC
by aexoxea - LastModif
- Monday 30 April, 2018 08:55:27 UTC