Lance O. Posted March 7, 2014 Posted March 7, 2014 The ProcessWire requirements page states that ProcessWire requires PHP version 5.2.4 or greater. http://processwire.com/about/requirements/ Yet when I just tried to install ProcessWire 2.4.0, I receive the following error: ProcessWire requires PHP version 5.3.8 or newer. You are running PHP 5.3.3-7+squeeze19" I'm installing on a host I've never used before, and I'm not sure what "squeeze19" is. Why is ProcessWire giving me this error? What are the actual PHP version requirements? 1
kongondo Posted March 7, 2014 Posted March 7, 2014 Lance, That page has not been updated.... Here's the actual requirements (aka officially supported) https://github.com/ryancramerdesign/ProcessWire http://processwire.com/about/news/introducing-processwire-2.4/ Although, I think I read somewhere in the forums that some people have managed to use it with PHP 5.2.x... Edit: Squeeze seems to be Debian 6? 2
adrian Posted March 7, 2014 Posted March 7, 2014 On 5.2.17: http://processwire.com/talk/topic/5543-processwire-24-possible-to-run-on-php-533/?p=54099
Lance O. Posted March 7, 2014 Author Posted March 7, 2014 Any reason why the requirements page hasn't been updated? That's the page that I send to my clients and their hosting companies. How do I explain to my hosting company contact that I've been providing them with the wrong information and they have wasted their time this week trying to get this site running correctly? Grrrrr.
kongondo Posted March 7, 2014 Posted March 7, 2014 I feel your frustration....I can't speak for Ryan but I believe this is an oversight...no intention to confuse really...
Pete Posted March 8, 2014 Posted March 8, 2014 I've changed the PHP version on that page, but I feel it should also mention PDO and maybe some other things - I'll PM ryan in a bit to make sure he sees this. If all else fails though, the installer tells you which PHP version you need - hence the message. Granted the website should be kept up to date, but if the installer requests something then that's the required version. Squeeze seems to be something to do with Debian perhaps: https://packages.debian.org/squeeze/ ? Not sure what it is and never seen it before to be honest.
teppo Posted March 8, 2014 Posted March 8, 2014 Good guess from Pete Most Linux distributions provide certain level of support for packages, such as PHP, included in their (still supported) releases. They won't upgrade PHP as a whole, but they'll backport security fixes. PHP 5.3.3-7+squeeze19 is simply PHP version shipped with Debian release "squeeze" and contains, most likely, various security enhancements over "vanilla" PHP 5.3.3. By the way, regarding required PHP version there's another thread you might want to take a look at too. 1
Lance O. Posted March 12, 2014 Author Posted March 12, 2014 @Pete Yes, the installer tells you which PHP version you need, but that's only if you are using the installer. I was exporting/importing the database from a development server to a production server. The site ran fine until I tried to log into the admin and received a "Unable to generate password hash" error.
horst Posted March 12, 2014 Posted March 12, 2014 Lance, if it is just the password you can reset that simply within a few minutes: http://processwire.com/talk/topic/490-how-to-reset-your-password-how-to-enable-the-forgot-password-function/ And I know sites running the PW 2.4.0 stable on PHP 5.3.3
Lance O. Posted March 12, 2014 Author Posted March 12, 2014 I tried resetting the password, but the same error occurs. I'm considering downgrading to 2.3.0.
teppo Posted March 13, 2014 Posted March 13, 2014 @Lance: weird thing here is that nothing should've changed regarding passwords and hashes between 2.3 and 2.4. These parts of the code are exactly identical as far as I can tell. I'd try installing a fresh 2.4 on this server you're using. If it works properly, then the problem most definitely has something to do with stored users and the password reset trick just didn't (for some reason I can't quite comprehend) work. Another thing you could try would be creating entirely new user via API, so that it's definitely specific to this particular server. 2
renobird Posted March 13, 2014 Posted March 13, 2014 Running 2.4 on PHP 5.2.17 here. All is working fine. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now