Loading...
 
Skip to main content

Installing package is hardly possible on shared hosting without an option to select the PHP CLI to use

Status
Pending
Subject
Installing package is hardly possible on shared hosting without an option to select the PHP CLI to use
Version
24.x
25.x
Category
  • Usability
  • Feature request
Feature
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Packages
PDF
Resolution status
Please retest
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Related-to
Description

On most of Virtual servers and Cpanel (tested on Server Debian10 running Virtualmin) you can select the PHP version that will be used for this domain. You can select a different PHP version than the one used by the server for the HTML backend.

It work usually fine.

However users don't have any option when this is about the PHP CLI. (php -v)

Developers have workaround like :
php74 console.php ...
sh setup -p /usr/...

It is usually fine for developers.

However for Admins (or power user) there is no option to select the PHP CLI version.
Like:

  • tiki-check.php
  • tiki-admin.php?page=packages
  • ... ?


Solution

Ideally we may have an option on Tiki that point to the right PHP CLI (the one associated with the PHP domain) or add it manually in a field. But this may be complicate.

As today I see only an issue with the Packages, it will easier to have a field to point to the PHP CLI version the user want to use.

Importance
7
Easy to solve?
5
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7820
Created
Monday 30 August, 2021 16:06:45 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Friday 16 December, 2022 05:51:44 UTC


Show PHP error messages