Concrete5-8.1.0 install error: concrete5 requires PHP 5.5.9+ to run

Permalink
I am trying to install a clean copy of concrete5-8.1.0

When accessing the new install I get the following line:

concrete5 requires PHP 5.5.9+ to run

My hosting site says I have PHP 5.5 running and that it is actually version v5.5.33

It should run but it does not.

Help.

jfhencken
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi jfhencken,

If you have web host control panel access, have you checked the version of PHP?

Have you checked the version of PHP using phpinfo()?
http://php.net/manual/en/function.phpinfo.php...
jfhencken replied on at Permalink Reply
jfhencken
Thank you for responding. In answer to you question: "If you have web host control panel access, have you checked the version of PHP?"

cPanel has "PHP Configuration" and I set it to PHP v5.5. It returns the following:

"Account PHP Preference Updated:
The “.php” file extension will be processed by PHP 5.5 for this account. "

The notes at bottom of the window say:

Installed versions:
5.2.17 [ Show version info ]
5.3.29 [ Show version info ]
5.4.45 [ Show version info ]
5.5.33 [ Show version info ]

So I assume that I am running v5.5.33 which qualifies as greater than v5.5.9+
jfhencken replied on at Permalink Reply
jfhencken
I ran phpinfo() at the beginning of the index.php file and it returned:
PHP Version 5.4.45

I am opening a ticket with my hosting company to fix this.

Thanks so much for the helpful phpinfo(); suggestion.
jfhencken replied on at Permalink Reply
jfhencken
New problem...

If I use cPanel "PHP Configuration" to choose a PHP version higher than PHP v5.5 I get a dialog window named "Opening":

You have chosen to open:
which is: application/x-httpd-php5 (42 bytes)
from:http://childrensbread.org
What should Firefox do with this file?
* Open with: [Browser]
* Save File
* Do this automatically for files like this from now on.

if I open the file with NotePad I get:

<?phprequire 'concrete/dispatcher.php';

If works with PHP v5.5 (which is 5.5.33) but if I choose PHP v5.6 or higher I get the above diaglog box.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@jfhencken

When I visithttp://childrensbread.org in Firefox, it displays the concrete5 installation setup screen.

In the Required Items section, you have a "Fileinfo Extension Enabled" warning "You must enable the PHP Fileinfo extension.". This is something to contact your web host about.
jfhencken replied on at Permalink Reply
jfhencken
Yes, I am in the process of contacting my web hosting company about enabling the fileinfo extension.

I am not sure the web host is responsible for the PHP v5.6+ dialog or a bug in concrete5-8.1.0. How can I tell?
MrKDilkington replied on at Permalink Reply
MrKDilkington
@jfhencken

What bug are you referring to? When your site is visited, it displays the installation screen as expected.
jfhencken replied on at Permalink Reply
jfhencken
When I set the cPanel PHP Configuration to a PHP version higher than v5.5 (5.6, 7.0, 7.1) the site no longer goes to the concrete5-8 installation screen. Instead it displays a MS Windows dialog that says:

You have chosen to open:
which is: application/x-httpd-php5 (42 bytes)
from:http://childrensbread.org
What should Firefox do with this file?
(o) Open with: [Browser]
(o) Save File
[x] Do this automatically for files like this from now on.

if I open the file with NotePad I get:

<?php

require 'concrete/dispatcher.php';

That's is what's in the index.php file

Basically that's all I get and the install process never starts up. I'll leave it set to PHP v5.6 and you can try it.
Mnkras replied on at Permalink Reply
Mnkras
The fact that your webserver is forcing the download of files tells me that it is not configured properly, you need to contact your host again unfortunately, concrete5 doesn't even initialize as the php files aren't being evaluated.