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

smartjeeva's avatar

laravel hosting problem

when I host in https://infinityfree.net this hoster I got this message

Whoops, looks like something went wrong.

in log

[2018-08-27 06:51:09] production.ERROR: No application encryption key has been specified. {"exception":"[object] (RuntimeException(code: 0): No application encryption key has been specified. at /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php:42) [stacktrace] #0 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Support/helpers.php(1038): Illuminate\Encryption\EncryptionServiceProvider->Illuminate\Encryption\{closure}(NULL) #1 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(46): tap(NULL, Object(Closure)) #2 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(24): Illuminate\Encryption\EncryptionServiceProvider->key(Array) #3 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Container/Container.php(749): Illuminate\Encryption\EncryptionServiceProvider->Illuminate\Encryption\{closure}(Object(Illuminate\Foundation\Application), Array) #4 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build(Object(Closure)) #5 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Container/Container.php(586): Illuminate\Container\Container->resolve('encrypter', Array) #6 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(732): Illuminate\Container\Container->make('encrypter', Array) #7 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Container/Container.php(885): Illuminate\Foundation\Application->make('encrypter') #8 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Container/Container.php(813): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter)) #9 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Container/Container.php(780): Illuminate\Container\Container->resolveDependencies(Array) #10 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build('App\\Http\\Middle...') #11 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Container/Container.php(586): Illuminate\Container\Container->resolve('App\\Http\\Middle...', Array) #12 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(732): Illuminate\Container\Container->make('App\\Http\\Middle...', Array) #13 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(215): Illuminate\Foundation\Application->make('App\\Http\\Middle...') #14 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(189): Illuminate\Foundation\Http\Kernel->terminateMiddleware(Object(Illuminate\Http\Request), Object(Illuminate\Http\Response)) #15 /home/vol7_4/epizy.com/epiz_22378137/jeeva.my-style.in/htdocs/public/index.php(60): Illuminate\Foundation\Http\Kernel->terminate(Object(Illuminate\Http\Request), Object(Illuminate\Http\Response)) #16 {main} "}

in local it's working fine

(this hosting) they don't have SSH. so I can't run any comments

please help me

0 likes
4 replies
Snapey's avatar

did you upload the .env hidden file?

by the way. sooner or later you will need to switch to a better host. Might as well do it now.

smartjeeva's avatar

yeah .env is there why Iam using this hosting that is you question right . just testing purpose. later i will more better hosting service

pardeepkumar's avatar

I Think , before you try to upload your Laravel project check your all configuration file related to database like .env or database.php and check hosting services that can offer you suitable environment and packages to run your Laravel app .

If you need hosting server you should try Cloudways. They are manage hosting providers which makes it easy to create and manage dedicated servers on the choice of your infrastructure provider from (DigitalOcean, Vultr, Linode, AWS, GCE ). Every server you create with Cloudways comes with ThunderStack.

ThunderStack consist of Apache, NGINX , Varnish, Memcached, Redis, PHP-FPM , MySQL and MariaDB ThunderStack guarantees to make your websites 100x faster.

You can easily deploy your project and also install Laravel on just 1-click.

smartjeeva's avatar

@Pradeepkumar thanks for you suggestion. but I need free hosting service for testing purpose. even slow no problem can you give some suggestion

Please or to participate in this conversation.