Loading...
 
Skip to main content

setup.sh fails with error 'wrong PHP version 52 but >= 55 necessary'

Status
Closed
Subject
setup.sh fails with error 'wrong PHP version 52 but >= 55 necessary'
Version
16.x
Category
  • Documentation (or Advocacy)
Feature
Installer (profiles, upgrades and server-related issues)
Resolution status
Partially solved
Submitted by
drsassafras
Lastmod by
drsassafras
Rating
(0)
Description

So, i am encountering this error while running setup.sh on Bluehost shared environment.

PHP 5.2, 5.4 & 5.6 are installed and available for my use.

Currently PHP Version 5.6.17 is the default php version (confirmed with phpinfo), which has been set by an apache set-handler in the .htaccess.

After many attempts to modify setup.sh, I managed to by pass the warning by manually changing the php calls to php56s (my local php5.6). Now I get a error with composer saying that it should be run with the command line version of php. This has clearly gone past my expertise. Help please!

I have set this as a bug as I have met the requirements outlined and have followed the documentation here: https://dev.tiki.org/Get+code

I have solved the issue on bluest shared environments. I wrote a little tutorial on how to fix it located on the Bluehost page.

I updated the Get code page, so if one reads and follows the whole, thing, it will eventually lead to the Bluehost page.

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5977
Created
Tuesday 07 June, 2016 06:03:57 UTC
by drsassafras
LastModif
Tuesday 07 June, 2016 18:37:18 UTC


Show PHP error messages