Page 1 of 1

PHP 5.1.6.

PostPosted: October 25th, 2010, 10:31 am
by condonp
I have recently installed s2 members 3.2.8 and get error that it requires php 5.2+

I am told by my hosting provider that they run php 5.1.6 and that php 5.2 is not currently supported !!

Could someone tell me What version of s2 members will run on php 5.1.6.

Kindest regards

Peter

Re: PHP 5.1.6.

PostPosted: October 26th, 2010, 2:14 am
by Jason Caldwell
Hi Peter. Thanks for your inquiry.

I'm sorry to hear that. All versions of s2Member, even going back to the very first release, all require PHP 5.2+. You could force s2Member to load on an installation of PHP 5.1.6, but I can't tell you that it will work, because it's never been tested with anything less than PHP 5.2.

To force s2Member to work under PHP 5.1.6:

Open /s2member/s2member.php

Change this line:
Code: Select all
define ("WS_PLUGIN__S2MEMBER_MIN_PHP_VERSION", "5.2"); 

Code: Select all
define ("WS_PLUGIN__S2MEMBER_MIN_PHP_VERSION", "5.1");