Infinity free hosting | Host your Laravel APP
Вставка
- Опубліковано 11 вер 2024
- Infinity free hosting wordpress website. Infinityfree nameservers epizy can also be linked to a domain. We can upload files using ftp over infinity free hosting. Infinity free auto deletes the zip files in free version. Many other hosting providers have file limits. But this hosting support enough number of files to host your website.
If you are facing some issues after the deployment. Please use the following checklist:
Also you should run
npm run prod
on your localhost then you don't need to upload the node_modules folder.
1. Make sure all files were uploaded in filezilla.
2. Make sure you have deleted the file called config.php from the cache folder.
3. If your application is working but some routes are not working then you need to play with your htaccess file. You can try the following htacess file:
haxingtricks.blogspot.com/2020/12/infinity-free-web-hosting-host-your.html
already replace htaccess, but routes are not working, can you create the tutorial to do that?
I have a problem with accesing my backend when I log in to my admin panel it says missing manifest.json file but it is present , or it tells did I forget to run npm install && npm run dev, please help
I followed everything carefully now I'm stuck with this error
ReflectionException: Class config does not exist in laravel/framework/src/illuminate/container/container.php ...
How can I fix this please?
i use phpstorm, and it offers ftp that is very easy and cool
@@dfordemo981 please which one is PHP storm
great ..., this is what i want. I have hosted my laravel apps just because of this video
Glad to hear that!
Thank you. I can hosting my laravel apps because of this video🔥
Great to hear!
Could not connect to server
halo meysa kamu pasti orang indo
@@warseno2415 ya, ketebak dari namanya ya?
@@meysaputri6212 wkwk iy
Hi, im finish all the process and i got error when try to open the website.
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2".
i already add "platform-check": false in composer.json on config area...but the error still didnt fix.
Anyway to correct this problem
8:12 - when I click on Admin button, it doesn't work (error = The page isn’t redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.) It won't open PhpMyAdmin dashboard. Did someone have similar problem?
3 days later it worked :D
That's great. Usually this happens due to internet instability.
@@croanna_ i changed the password manually. then it worked immediately. i read it on infeenity comments.
whoops, looks like something went wrong. im using laravel 5.4 and php 5.6. how do i debug this? (1/1) RuntimeException
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key length.
The app_key in .env file are already filled, i already type php artisan key:generate, php artisan config:clear and php artisan config:cache. then i upload back. still the same....
Have you make sure that while uploading your laravel APP, all of the files were uploaded, there was nothing in failed. If there was something in failed section, then you must send them to queue again.
@@iCodeZilla hmm, i noticed theres a failed files, i did re-queue. I guess i'll just upload all my files back just in case. *sigh.
@@imscientist7859 Sure.
Hello Sir! . I uploaded my SAAS-based Laravel project and made all changes as per your instructions, but I'm getting the error "VM388:182 crbug/1173575, non-JS module files deprecated." Please suggest.
i can t acces to phpmyadmin to upload the sql script
there is any other way to do it ??
Nice Sir, I was having issue with FTP password. Thanks for sharing recovery method.
Happy to help
Is there anyway I can delete the vendor and npm modules and install them on the host's server? they seem to be slowing down my upload
For shared hosting you cannot, because you cannot execute composer commands.
Hi sir, I've followed all the process but when I'm importing my database, this error shows
Access denied for user 'epiz_27505213'@'192.168.0.%' to database 'db_blog'
This means that your credentials are not valid. Also why you are using 192.168.0. this ip as host? You need to fix your credentials.
You can recover them the same way I did.
Currently your hostname seems to be wrong. After fixing it, if still facing same issue then recover your credentials and get new details.
Thankyou for your feedback sir
@@elmomahupil My pleasure
please explain in demonstrative video that how we can host our laravel project (medium sized) on cheap hosting like rabhost, pakhost etc in pakistan, directly with bitbucket from a particular branch , setup ci/cd pipelines and workflow pushes with a chatting platform like discord or mattermost or any other, consider this and please make a series on how we can do that
Hey, Thank you so much for your feedback, I will surely consider your suggestions
@@iCodeZilla ☺☺☺
Congratulations ! I liked you video....
Thank you
Sir, laravel support any version only 1year. If we make website laravel8 version. AFTER 2year, new version lanched. Does develoer needs to migrate 8to new 9 version or not. What will do
Hi DevKamal Saxena,
Laravel version is updated almost every year and they are bringing more and more advance features to it. If you don't need those features to use, you don't need to update. There is one more situation like package and you want to use it and it is only available for new Laravel version, that could also be the reason to upgrade.
Remember that, Laravel advance features always makes the development easy. You upgrade your project or not, but always keep yourself up to date with new features.
Thank you
I got an error sir after uploading all the files. Interface "Illuminate\Contracts\Pipeline\Pipeline" not found
It shows This page isnt working. Error 500
Please check with your php version. and also set app debug to true
same. have you solved it ?
awesome and brilliant ____ thanks for so much details you have shared with us
Glad you liked it
phpmyadmin isn't starting ; showing this error. do you know how to fix it?
This page isn’t working185.27.134.10 redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
I think I showed two ways in this video. Other is not working? I know the same error was happening to me.
@@iCodeZilla later it got resolved :), but now the account is suspended. :'(
@@shifa543 May be you uploaded something wrong
Have you fix it please?
DUDE YOU SAVED MY LIFE THANK U SO MUCH
Happy to help
Thanks sir I am really impressed 💯
Thank you for your feedback.
Hello... I'm having an error when opening phpmyadmin on cpanel. It is saying "too many redirects"
Please try another time or with some different internet. I had to went through the same.
Hi,
this method is good, but with laravel there are some features that don't work like edit mode
The edit mode should work normally. Can you post the error details if you received any? Or send me some further details on this.
when i try to upload to file manager it cannot upload, even though my file is just 78MB and I am using the free version ? Can someone help me pls ?
call route laravel in infinityfree in Insomnia???
Thank you great work❤
But i have a question, what if my project is linked to docker container containing servers and database how to access them . Thank you
Thank you for your feedback.
Sur when i try to access it sayes
Your composer dependency require version >=8.1.0
Please change your php version to 8.1
thank you brother for helping me it's working perfectly
Always welcome
Do we need to change the APP_URL in the .env file?
If you are not using that variable in backend, then don't need to change. By default Laravel is not using that variable for any purpose. But if developers has used it for some purpose then you have to change.
Thanks
thank you! but i have a question. which filezilla that we use? client or server? thank you
FileZilla Client
InvalidArgumentException
Please provide a valid cache path. While hosting laravel website
You need to delete the cache files. As I deleted in this video.
Yeah..Thanks alot..
My question: how do you make changes reflect on shared hosting when you push to github
I think you are looking for something like this?
ua-cam.com/video/xjPkD0aXyPs/v-deo.html
But these features might not be available in free hosting.
hello, do they give storage access for saving images or uploading document from our laravel app?
Hi, You can set your storage to public folder. I'm not sure how many files you can upload, but I'm sure there will be some limit for it. May be you check their FAQ pages etc.
Thank you Sir !
You welcome :-)
THANK YOU SO MUCH!! MUCHAS GRACIAS!! You help me a lote with this video!!
Glad it helped!
not work brother, how do you upload laravel + vue js it can use this follow this video
For Vue, Just build your project using npm run prod on you local and don't need to upload node modules
what version of laravel did you installed?
This version is 7.2.
@@iCodeZilla can i host my laravel app version 8 also ?
@@realnigga6903
I will say yes, as far as the hosting has the php version >= 7.3.
To check the hosting version, you can use following code:
If the php version is 7.3 or higher. Then you can host Laravel 8 without any problem. Otherwise some features might not work.
how to downgrade Laravel 9 to 8?
when you edit it's ok, but if you validate the redirection, put
Not Found
The requested URL was not found on this server.
Okay. May be you need to play with your htaccess file. If your redirections are not working.
can You help me
@yoda razak
haxingtricks.blogspot.com/2020/12/infinity-free-web-hosting-host-your.html
Please backup your existing .htacces file in public folder and replace that with this one. and upload it online and try.
thank you for your promptness. God bless you
@@yodarazak5871 You Welcome :-)
Let me know after checking this. Hopefully this will work.
it works. really good video. thank you sir
Thank you my brother for your feedback.
the email was rejected by your email provider.
Their criteria might have changed.
please make a video on how can contribute to open source projects on github
thank you for the tutorial, so basically my whole reason of my laravel app (beside login & register) is not connected to mysql db because I didn't put the contents of public folder into htdocs.
Great. Thank you for your feedback.
good work!
i just wanna ask if it's possible to make API requests for the data in the database from a flutter mobile app ?
Hi, yes sure, you can create apis and deploy over hosting. But you should keep in mind that the response will be a bit slower than premium ones.
you mean you want to host your API on infinityfree?
The best information about it. Awsome. Thanks
So nice of you.
Thank you for your feedback.
Thank you for this ..
but what if I am uploading even a native and simple php app but I am using composer with it (used it to download Carbon library) ..
the first issue I got was that php version in composer checks for version 8.1 while the php version on the host is 7.4 .. so I edited the platform_check file in composer directory and changed it to check for 7.4 instead of 8.1 and it worked .. BUT .. I got errors on using carbon library and I had to remove everything related to Carbon in my code ..
what is the solution for this .. THANKS
You can downgrade laravel version.
Are you using laravel 8?
@@iCodeZilla I am only using php native with no frameworks ..
And only Carbon as a library ..
How can I downgrade the version of it now ...
According to official documentation for carbon, the latest version should work with:
2.x version requires PHP 7.1.8+.
I hope you are using 2.x version. not greater than this?
Sir when i am trying to reset to get my ftp password.. The mail is not comming even though it is showing the screen thar mail has been sent..
Free hosting may have these kinds of issues, please try again
Thanks you sir, it's really helping me
Thank you so much for your feedback. Really appreciated.
Filemanager is sometimes lagging and forces me to log in, and I got an error said "Could not readline from socket". How does this happen, I've just used it yesterday?
Make sure you have stable internet connection.
vendor files taking too much time to upload while using filezilla is there any other options to upload vendor file ??
try zip and extract using filemanager in your hosting.
Which speed better heroku or infinity free?
I never tried heroku, can't give my opinion 😐😶
This is my first time hosting my laravel app. My laravel with vue js , do i need to run php artisan serve and npm run hot ? or it will automatically done . I already downloaded vendor and node_modules
You can make a build on your local for vue js. by running following Command:
npm run prod
After this you don't need need to upload node_modules folder or any vue.js file.
You can upload app.js from public folder.
The page is not working message is showing in browser to me after making all the changes you addressed in the video. Please guide how to fix it.
Please read my first pinned comment.
That has some checklist.
After that please let me know.
I hope that would help you.
Also you can connect me on skype. rashidabbas7864
my admin in mysqldatabase in panel didnt work i follow the env steps any suggestions?
but i have config.php in htdocs\vendor\laravel\framework\src\Illuminate\Support\Facades
is your mysql extension enabled in php.ini
Hello Sir
After upload I don't access my project through free subdomain
When I search I see a
Directory listing page
Page name routing
How can I display my project file
I just see all files name size etc
was there any index file at the subdomain root?
After everything done
Seeing this error
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".
please upgrade your php version please.
The video was helpful. But i have a question. With laravel, a symlink is created when dealing with storage of files. I am finding it difficult to get the files ones they are uploaded onto the server. Any help?
check inside Storage/app/public folder.
@@iCodeZilla the symlink doesn't seem to work. I even created a route that runs storage:link artisan command. The files get stored in storage/app/public but they are not accessible from url/storage/
@@iCodeZilla the symlink doesn't seem to work. I even created a route that runs storage:link artisan command. The files get stored in storage/app/public but they are not accessible from url/storage/
I worked around it by uploading public files directly into a storage folder in htdocs.
If you are not able to store files inside a storage folder then its possible that you are using shared hosting and it doesn't support this. So you can directly upload to public folder. which is bit insecure but you can set the permissions.
when I go to the domain, the browser screen turns white. What should i do?
May be your internet issue, Have you tried with different internet network.
anyway to use migration instead of export and import sql code ?
You can also do without export and import.
You need to configure the mysql configuration correctly and after that just execute your project directly without importing the sql script. It will show you some error that this table doesn't exist and you might forgot to run migrations. And it will also display you the Run Migration button. Just click that. and there you go.
@@iCodeZilla hey I tired it didn't work it tells me Something went wrong when executing the solution. Please try refreshing the page and try again.
why is that when i open/connect to my mysql database or phpmyadmin it always reloads instead of redirecting me to the phpmyadmin , it redirects me to an ip address e.g 185.27.134.10/db_structure.php?db= and reloads the browser nonstop
I have showed two ways. Have tried both of them?
@@iCodeZilla Im also having the same problem, Ive tried the 2 ways but still not working, can you suggest me what to do? Thank you sir
I see u already upload node modules
Is that mean u can run javascript on your project live?
yes.
Hi, Thanks for your sharing....is it can use Laravel TALL too under infinity free environment ?
I would say, if you can host your Laravel Tall on shared hosting, then surely you can do on this free version as well. As far as number of allowed files not reached.
hey sir, thanks for the video. i've been following all the steps, but i keep getting "500
Whoops, something went wrong on our servers." what can i do to fix it? thanks !
Have you checked the php version?
Class "Illuminate\Support\Facades\Route" not found
how do i fix this?
Maybe your vendor folder is partially uploaded.
Thank you man. You saved my ass
Thank you for your feedback.
Hi please help me i got this problem when i already done upload my laravel project when i go to my website it says:
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".
Please change your php version
how i can change version PHP i work with 8.1@@iCodeZilla
@@iCodeZillahow do we change the php version? Does that mean we'll need to delete the files and upload again to the server after changing the version
Guys, there is php version manager in each hosting. From there you can change your php version.
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". how can i fix that error
change your hosting php version to 8.1 because you are using the latest version of laravel.
otherwise use the lower version of laravel.
Is there a limit on filesize for uploading to infinityfree. Thanks
Sorry, I'm not sure about it.
Hi sir, after I finished uploading my project and setup my database, it displays "Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2" ". Can I know how to fix this?
Please make sure you have the same php version on that server as your local.
@@iCodeZillahow do we make sure of that? Anywhere to check PHP version on the server?
Please create php file on that hosting.
And write following code:
phpinfo();
This will print all details. related to php version and extensions available.
Interface 'Illuminate\Contracts\Broadcasting\Factory' not found i got this error. now how to resolve this.
Make sure you have latest version of php and have uploaded all files
Thank you! This worked. But all my routes end up having a ?i=2 or ?i=1 or ?i=3 and end up messing with my post requests. Can you help with a solution?
Solution provided on email.
What laravel version are you using in this tutorial??
Laravel 7
how do I access my domain website?
Video is very good 😊 thanks you for your video.. greate video.
Thank you too
Why don't Database and backend work?
Can you please send the error?
Nice sir but I have a small issue that the image is not shown while uploading to database however it stores in database but not shown
You need to fix asset() path in views files.
We can access the url in mobile
And for same url we can write the API calls
Yes you can access the api url through your phone if the api type is GET
Otherwise you can use postman.
Very helpfull, thanks
Thank you dear. Always happy to help.
Thanks again for your feedback.
why i get this
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2".
Your php version issue. Please make it 8.0.2
@@iCodeZilla anyway to correct it
@@asifka4235 try laravel 7
@@iCodeZilla laravel 8
Hi. Thanks for video but I have error. Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". How can i fix my mistake?
Upgrade php version to the suggested one. Or downgrade the laravel version.
@@iCodeZilla when i upgrade php version will it affect my website performance?
@@hamletavagyan4928 Performance will be positive.
Hey, I have an issue with my application because it uses Vite, so I have to run "npm run dev." Do you have any solutions?
You should run this command on local.
npm run prod
this will build files in public folder. you don't actually need to upload node_modules on hosting.
@@iCodeZilla It worked, but I have another issue regarding image uploads because when uploading images, we need to run `php artisan storage:link`. Do you have any solutions?
@@rcadaer1200
You can create a route to do this job.
Route::get('generate', function (){
\Illuminate\Support\Facades\Artisan::call('storage:link');
echo 'linking done';
});
@@rcadaer1200 Also keep an eye if the assets paths are correct. you can check by view page source.
i'm getting this error
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".
hi! did u find a solution?
@@waveyofearth I change hosting provider
@@jakenottheripper476 may I know which hosting provider u used?
Infinity Free.
@@waveyofearth 000webhost
Sorry, but I think you should not upload node_modules. At my project, nodemodule is too big and It will take too much time if uploading. I saw an solution on stackoverflow which said that upload all except nodemodule, then in server, we can run "npm i". So my question is, where and how can I run this on infinity free ?
You cannot run npm install on shared hosting. That is the reason we always upload vendor folder on shared hosting
@@iCodeZilla Because my nodemodules contains a lot of files, and upload through filezilla take bunch of time. Can you give me some way to upload it?
You said vendor folder shared hosting, so what is it used for?
Thank you
@@danielhat4440 infinityfree doesn't support zip files. I think this is the only way to do it.
@@iCodeZilla It wasted me 6 hours to upload the full nodemodules to filemanager in infinity free 😁. It looks a bit stupid but I'm using free version, I can't ask for specific tasks ^^
@@danielhat4440 haha. yeah that's the only way for this. If it could have supported zip file. Then it was so easy.
Does it host my API too? I used my laravel application mainly for API
Yes. It will host the same way.
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".
Please update the php version.
how@@iCodeZilla
For me the php my admin is not opening. could you please help with this error?
try changing your internet or try some other day.
Filezilla takes long time to upload .what is the solution? Please make me know.
You can zip your files and unzip them from cpanel
thanks... but ... deploy my project and the routes inside my project no worhing
need to play with htaccess.
my project in server, i need a to write npm run dev
Just run the following on your local:
run npm prod
then compiled results will be under public folder. In that case you don't need to run above command over hosting and also don't need to upload node_modules.
Do i need to have a filezela? To use infinity to upload
Better to use it.
not worked for me
hi help me configure the storage path
I will make a video on this
You r a life saver, bro!
how can i to run my laravel migrations ?
You can run using ssh terminal. Or can make route calling artisan command.
By putting your app code inside subfolder public/laravel, you are exposing your source code. It can be accessible from the url. DON'T DO IT
No, Laravel doesn't treats this folder as public. When you try storing something, It will use the public folder inside the laravel folder.
my images are now showing. how can i solve that?
please check the paths, if they are correct through inspect element.
@@iCodeZilla i found out the problem. the problem is i need to create a symbolic link to the public folder and to create a sym link i need to do a cron job. but the free plan doesn't allow me to do cron job to create a sym link. can you suggest any alternative solution?
You can run artisan command through routes as well. Search about it.
Not work
how can i update my project on the serveur
Please explain your query in details.
Damn an entire vendor folder?
yup
thank you man i love u
Glad I could help
@@iCodeZilla theres always some guy with indian accent saving the day after youve failed trying for hours. thank you very much my brother
Hahaha. Love you man
Does it really take that long to upload the files?
It literally takes forever to upload the "vendor" folder
Using filezilla yes. This is free hosting. doesn't support zip files at that time. So this was the only way to do it. The reason they put us in pain to get their premium hosting.
@@iCodeZilla ah yes, I see, that makes sense. Thank you for the reply! Subscribed!
Thank you for your support
Why didn't open database on Xamp php my admin servr
Because that needs some extra configuration.
to whitelist the ip.
does it work in laravel 9 ?
If hosting satisfy the php version requirements by the Laravel 9, then it should work.