Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

tomislavb's avatar

Laravel 5.1, free shared hosting

Hello! I have laravel 5.1 app that i want to deploy on free shared hosting. I'm getting an error "Call to undefined function Illuminate\Encryption\openssl_encrypt()". I don't have acces to php,ini and i can't enable extension. Any ideas? Tnx!

0 likes
1 reply
harryg's avatar

I doubt you'll be able to get Laravel running on your shared hosting. The specific problem is down to that function not being defined - in this case because the file defining it doesn't exists. Did you run composer install?

If if you get past this you'll have trouble on a shared host. Try something like Amazon AWS or Heroku which both have free tiers and are much more capable provided you learn how to work with them.

Please or to participate in this conversation.