Author Topic: Installation Error  (Read 6774 times)

0 Members and 1 Guest are viewing this topic.

stanhills11

  • Full Member
  • ***
  • Posts: 7
Installation Error
« on: June 08, 2015, 05:22:32 AM »
Hi there,

I am having the same issue as mentioned in the following topic:
https://mibew.org/forums/index.php?topic=191681.0

But in my case, I think the problem is not with the php version. Here are the server details:

Apache version: 2.2.29
PHP version: 5.4.38
MySQL version: 5.5.42-37.1

Any help would be really appreciated.

Dmitriy Simushev

  • Moderator
  • Native
  • *****
  • Posts: 345
Re: Installation Error
« Reply #1 on: June 08, 2015, 06:31:30 AM »
Quote
But in my case, I think the problem is not with the php version.

You're wrong. The thread you've pointed is about:

Quote
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /<some path>/mibew/install.php on line 25

error. And the only reason of such errors is an outdated PHP (< 5.3).

So either you have another error (check apache's error logs) or you are wrong about installed PHP version.
« Last Edit: June 08, 2015, 09:08:26 AM by Dmitriy Simushev »

stanhills11

  • Full Member
  • ***
  • Posts: 7
Re: Installation Error
« Reply #2 on: June 08, 2015, 10:19:49 AM »
This the error I'm facing.

Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /<some path>/Mibew/install.php on line 25

and attached is the screen shot from the cpanel

Dmitriy Simushev

  • Moderator
  • Native
  • *****
  • Posts: 345
Re: Installation Error
« Reply #3 on: June 08, 2015, 10:42:20 AM »
I don't believe that PHP 5.4.38 is used to serve Mibew requests.

Place a file named "info.php" with the following content
Code: [Select]
<?php

phpinfo
();


into Mibew root directory, request "http://<Mibew base URL>/info.php" and provide the output here.

stanhills11

  • Full Member
  • ***
  • Posts: 7
Re: Installation Error
« Reply #4 on: June 08, 2015, 11:55:34 AM »
Thank you for the help. Actually the problem was with the hosting provider, now they updated the php version. So, I'm going to install it right now.

Dmitriy Simushev

  • Moderator
  • Native
  • *****
  • Posts: 345
Re: Installation Error
« Reply #5 on: June 08, 2015, 12:17:50 PM »
I've told you that you did use an outdated PHP  8)

Nevertheless, it's nice to hear that the problem is solved.

Dmitriy Simushev

  • Moderator
  • Native
  • *****
  • Posts: 345
Re: Installation Error
« Reply #6 on: June 08, 2015, 02:15:58 PM »
I've moved you question to https://mibew.org/forums/index.php/topic,191838.0.html because it's about another problem.