Skip to content

Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) while installing Processwire 3.0.244 #2024

Open
@prbt2016

Description

@prbt2016

Short description of the issue

Short description goes here.

Hello , I was in the process of manual installation of Processwire 3.0.244 on Centos 7 with PHP 7.0 , MYSQL 5.5, Apache 2.2.

However, I encountered the following error i.e :

Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in/{{PATH}}/{{TO}}/{{PROCWIRE}}//wire/core/Interfaces.php on line 761

But here it is mentioned that PHP 7.x versions are supported and 8.x recommended.

https://processwire.com/docs/start/install/new/

What is the exact minimum PHP requirement for installing Processwire?.
I saw many min requirements mentioned . In install.php it is 5.3.8. Inside composer.json it's >=5.5.
Are the minimum requirements changed?

It's working properly on PHP 7.1 (with utf8, MYISAM). Could you please update the exact requirements on official website and elsewhere required .

Also had another query. Is Processwire officially supported for MYSQL > = 5.5 , since installer mentions so as specified in screenshot below:

Please specify a MySQL 5.x+ database and user account on your server.

image

Also are there any known issues if I use MYSQL 5.5 with utf8 collate and MYISAM engine to install Processwire ? .

Kindly let me know.

Expected behavior

Processwire should be successfully installed

Actual behavior

Actual behavior goes here.

Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in/{{PATH}}/{{TO}}/{{PROCWIRE}}//wire/core/Interfaces.php on line 761

Optional: Screenshots/Links that demonstrate the issue

Your screenshots/links go here.

Optional: Suggestion for a possible fix

Your possible fix goes here.

Steps to reproduce the issue

  1. Visit http://example.com/procwire/install.php
  2. Enter db details.
  3. Enter admin details
  4. Click Continue

Setup/Environment

  • ProcessWire version: 3.0.244
  • (Optional) PHP version: 7.0.33
  • (Optional) MySQL version: 5.5.62

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions