Forum

Thread tagged as: Problem, Error, Installation

Is this error due to PHP being out of date?

Warning: require_once(__DIR__/../core/inc/pre_config.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxxxxx/public_html/xxxxxxxxxxxx.co.uk/perch/setup/index.php on line 3

Fatal error: require_once() [function.require]: Failed opening required '__DIR__/../core/inc/pre_config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxx/public_html/xxxxxxxxxxxx.co.uk/perch/setup/index.php on line 3

I know the PHP on the server is currently out of date and a version not supported by Perch - but I just wanted to check there wasn't other issues I need to be looking at too. Is this error purely related to the outdated PHP or is there a bigger issue?

Also, worth noting - the Perch Compatibility test said the server was suitable - it was only after I got this error that I checked in CPanel to see PHP was still a 5.2.X version.

Haydn Ward

Haydn Ward 4 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

You need PHP5.3 to run Perch. The latest version of the test checks for that.

The test came back succesful though?

I understand my PHP is out of date though and that's being fixed today. Is the error due to PHP?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, you need at least PHP 5.3.