PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

PHP 5.2 error

s2Member Plugin. A Membership plugin for WordPress®.

PHP 5.2 error

Postby Oakie » June 16th, 2010, 8:46 pm

I've installed the plugin, but get the error "You need PHP version 5.2 or higher to use the s2Member plugin." I'm using hostmonster, and inside the cpanel it claims to be using PHP 5.2.13.

Any ideas why I'm getting this error? I did not find this question elsewhere on here, but if it's here please let me know.
Oakie
Guest User
Guest User
 

Re: PHP 5.2 error

Postby Jason Caldwell » June 19th, 2010, 1:44 pm

I can think of two possibilities.

1. Your host provides both PHP 4, and PHP 5 on your server. The site you installed s2Member on is using PHP 4 instead of PHP 5. In this case, you should ask your hosting provider to enable PHP 5 for your domain.

2. Your hosting provider is using a beta, or development version of PHP, in which case; s2Member "could" be incorrect in its assumption ( not likely though ). In other words, the version_compare() function is reporting incorrectly on your installation.

Please report back if you find a solution to this problem.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: PHP 5.2 error

Postby Guest » September 6th, 2010, 5:28 pm

Hi,

I just wanted to say I was also getting this error, and figured out how to fix it.

For me, Jason was right-on with his 1st response! Thanks Jason.

For anybody wondering: my host (MediaTemple) enables both PHP 4 & PHP 5 on a per domain basis. To switch it to PHP 5, on MediaTemple at least, you can just log-in, check the options on the main domain & navigate to PHP Settings. Then, make sure the domain in question is switched to PHP 5 (PHP 4 is default on (mt)) and you will be ready for action!

Thanks again Jason, you are really supporting this plug-in well!!!
Guest
Guest User
Guest User
 

Re: PHP 5.2 error

Postby Jason Caldwell » September 7th, 2010, 11:31 pm

Awesome. Thank you VERY much for reporting that solution.
~ Much appreciated, and thanks for the kudos too!
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 2 guests

cron