Loading...
 
Skip to main content

setup.sh not utilizing found PHP version

Status
Closed
Subject
setup.sh not utilizing found PHP version
Version
19.x
20.x
Category
  • Bug
Feature
Installer (profiles, upgrades and server-related issues)
Resolution status
Fixed or Solved
Submitted by
drsassafras
Lastmod by
drsassafras
Rating
(0)
Description

Hi guys, I don't have time to bugfix this right now, but I think I might have found a possible explanation for some weirdness happening in svnup.php

When you run sh setup.sh when your PHP version in $PATH is too low (ie, clearos) it searches known locations for correct PHP versions and uses them.

Now, the issue I have found is that it does this, but skips the section where it downloads and configures the dependencies. So setup.sh completes without errors and does perform some tasks, like setting permissions but does not do what you thought it would (download and install dependencies).

Running sh setup.sh -p xxxx

where xxxx is the PHP path that setup.sh previously identified as a good PHP version, works flawlessly.

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6852
Created
Tuesday 09 October, 2018 14:19:07 UTC
by drsassafras
LastModif
Tuesday 27 June, 2023 05:51:02 UTC


Show PHP error messages