Support the ongoing development of Laravel.io →
Installation Architecture
Last updated 2 years ago.
0

Laravel 4.1 can work down to 5.3.7, however 4.2 specifically requires 5.4 because it uses traits.

Last updated 2 years ago.
0

Thank you for your reply. I see our customers use 5.3.0, any way to install Laravel on their servers?(cannot upgrade PHP, it's just not in our power..) Can we use an older Larave version?

Last updated 2 years ago.
0

Installing laravel 4.1

http://laravel.com/docs/4.1

Last updated 2 years ago.
0

Ok that works with PHP >= 5.3.7 but what about PHP 5.3.0?

Last updated 2 years ago.
0

To get lower than 5.3.7 and drop to 5.3.1 you need to implement the new bcrypt password hashing features, below 5.3.1 I'm not sure, but either which way, doing this will be a big pain.

5.3 is EOL and 5.4 is well on its way to EOL with only security patches being applied to it, so theres no reason as to why 5.3 should be being used with hosting as cheap as it is these days.

I'd assume the fact you don't have the ability to upgrade because you're using a shared hosting platform, which adds another level of headaches to trying to setup and install laravel.

Last updated 2 years ago.
0

Yeah iWader is right for one of our project we need also to have a 5.3.1 compatibility (not sure for 5.3.0 don't think that's possible due to namespace :/)... So here is how we did that for 5.3.1 and laravel 4.1 :

Create a class Hash from the Laravel Hash class and change the mcrypt hash method by sha1 or you can copy this example in this link (just change the namespace because this is the namespace of our project) :

(https://github.com/cherrylabs/arx-core/blob/master/src/Arx/classes/Hash.php)[https://github.com/cherrylabs/arx-core/blob/master/src/Arx/classes/Hash.php]

Create also a HashServiceProvider class like the link here :

(https://github.com/cherrylabs/arx-core/blob/master/src/Arx/providers/HashServiceProvider.php)[https://github.com/cherrylabs/arx-core/blob/master/src/Arx/providers/HashServiceProvider.php]

Then you need to reference the HashServiceProvider in app/config/app.php and change the reference to your HashServiceProvider like here

// 'Illuminate\Hashing\HashServiceProvider', 
'Arx\providers\HashServiceProvider',

You can also include our package in your composer.json too with "arx/core" : "4.1.x" and simply refer the HashServiceProvider in config.app, but as our package do a lot more than that like add extra classes, starter bootstrap templates, grunt generator, make some laravel composants compatible in any project etc. (it's our agency dev kit ;-) => I don't think it's necessary for you so you can just download the 2 files classes and adapt it at your own sauce

curl -O https://raw.githubusercontent.com/cherrylabs/arx-core/master/src/Arx/classes/Hash.php curl -O https://raw.githubusercontent.com/cherrylabs/arx-core/master/src/Arx/providers/HashServiceProvider.php

Last updated 2 years ago.
0

The man-hours to work around this could not possibly be cheaper than new/better hosting.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Spoowy spoowy Joined 25 Nov 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.