How to install package on shared host?

|
behindfactss 2020-01-16 22:27:24
examaple
ErSoul 2020-01-16 22:27:25
chmod -R ug+w wherever/your/project/is/storage/log
behindfactss 2020-01-16 22:27:58
ErSoul 2020-01-16 22:27:25
chmod -R ug+w wherever/your/project/is/storage/log

thank you will try

ErSoul 2020-01-16 22:28:43
Mahdi_khani 2020-01-16 21:30:11
Hi
How to install package on shared host??

do you have ssh access to the host?

behindfactss 2020-01-16 22:28:51
yes
Mahdi_khani 2020-01-16 22:29:30
ErSoul 2020-01-16 22:28:43
do you have ssh access to the host?

I dont no
How to know??

behindfactss 2020-01-16 22:29:33
behindfactss 2020-01-16 21:21:30

i can’t access my php artisan commands

behindfactss 2020-01-16 22:30:01
but in localhost its works
ErSoul 2020-01-16 22:30:54
behindfactss 2020-01-16 22:29:33
i can’t access my php artisan commands

all your problems are about permissions. You shouldn’t have uploaded the directory next to the file that says “DO_NOT_UPLOAD_HERE”

ErSoul 2020-01-16 22:31:41
next to it, is a public_html folder. You should have uploaded your project there.
ErSoul 2020-01-16 22:32:47
Mahdi_khani 2020-01-16 22:29:30
I dont no
How to know??

On the panel you can check if it has/says something about SSH

behindfactss 2020-01-16 22:37:50
ErSoul 2020-01-16 22:30:54
all your problems are about permissions. You shouldn’t have uploaded the directory next to the file that says “DO_NOT_UPLOAD_HERE”

Deploy Laravel To Shared Hosting The Easy WayYouTube
In this video I will show you how to easily deploy a Laravel application to a shared hosting account with InMotion hosting. We will deploy without having to type in one command. Everything will be done via Cpanel and FTP.

INMOTION HOSTING: Get an account for $5.99 per month
https://secure1.inmotionhosting.com/cgi-bin/gby/clickthru.cgi?id=traversymedia

10 PROJECT LARAVEL COURSE: Please use affiliate link below
https://www.eduonix.com/affiliates/id/16-10485
50% OFF: Use special code “traversy”

CODE: Complete Code For This Series
https://github.com/bradtraversy/lsapp

FULL SERIES:

SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support:
http://www.paypal.me/traversymedia
http://www.patreon.com/traversymedia

FOLLOW TRAVERSY MEDIA:
http://www.facebook.com/traversymedia

http://www.linkedin.com/in/bradtraversy

behindfactss 2020-01-16 22:38:47
behindfactss 2020-01-16 22:37:50
https://www.youtube.com/watch?v=6g8G3YQtQt4

but in this video he put whole packagein outside of public_html

behindfactss 2020-01-16 22:39:23
only public folder was move in public_html
ErSoul 2020-01-16 22:41:00
uhm… I thought you were on a VPS…
2020-01-16 22:42:50
Ok
ErSoul 2020-01-16 22:43:16
do a ls -l, its still a permissions problem
ErSoul 2020-01-16 22:46:27
btw, why do you need to execute artisan commands? In a shared host you should upload everything ready to deploy.
behindfactss 2020-01-16 23:08:00
ErSoul 2020-01-16 22:46:27
btw, why do you need to execute artisan commands? In a shared host you should upload everything ready to deploy.

what method i can use

behindfactss 2020-01-16 23:08:24
in shared hosting
ErSoul 2020-01-16 23:11:07
rrajesh011 2020-01-16 21:28:51
I have a doubt in my mind, why big companies don’t use php why they go for java .net.

I guess because performance, or maybe they can reuse packages or libraries in other desktop apps that they may develop…

ErSoul 2020-01-16 23:13:19
behindfactss 2020-01-16 23:08:24
in shared hosting

In shared hosting there’s already a service (generally apache, or nginx) that serves the webpage.

So you should only upload your project ready-to-run. And point your server to wherever your index file is.

behindfactss 2020-01-16 23:14:11
but i have ssh access
behindfactss 2020-01-16 23:14:41
i cann’t update composer in ftp
ErSoul 2020-01-16 23:17:39
And you shouldn’t…

You shouldn’t do testing or being developing on a shared host.

ErSoul 2020-01-16 23:21:29
You do that on your local instance, and you should have an .env file for production (whatever you’ll upload to the shared host, or VPS), and another for development (e.g localhost instance ). Otherwise you’ll end up in a mess
ErSoul 2020-01-16 23:24:52
However, for every change that you do, you’ll have to upload all the changes through FTP. And if you’re lucky (it’ll depend on your shared host provider) you can use GIT, but I guess its not one of these cases…
Yannickshadownet 2020-01-17 01:28:53
2020-01-16 21:09:30
hope this solves the stuff for you

Unfortunately no

2020-01-17 03:41:45
Yannickshadownet 2020-01-17 01:28:53
Unfortunately no

send Screenshots of your Codes your database and Model Controller and Blades in my DM see if i can help

blizth 2020-01-17 05:37:19
Hi i want export a table to xml
blizth 2020-01-17 05:37:27
This is my code
blizth 2020-01-17 05:37:50
laravel_discuss-24451.jpg

blizth 2020-01-17 05:38:04
laravel_discuss-24452.jpg

blizth 2020-01-17 05:38:33
This error appears
Khoerulhumam 2020-01-17 05:43:34
help me please , How do I make data exports based on queries? and the variables are taken from a diagram?
2020-01-17 06:02:31
laravel_discuss-24455.jpg
رو سرور این مشکل رو دارم راەنمایی بفرمایید
Bittle 2020-01-17 06:20:41
2020-01-17 06:02:31
رو سرور این مشکل رو دارم راەنمایی بفرمایید

English?

rebory 2020-01-17 06:47:13
hi experts
rebory 2020-01-17 06:51:01
laravel_discuss-24459.jpg

rebory 2020-01-17 06:51:34
laravel_discuss-24460.jpg
i’m in trouble when update composer
rebory 2020-01-17 06:53:27
laravel_discuss-24461.jpg
and face php version error when install composer
Akshay Bhardwaj 2020-01-17 07:00:35
I need laravel expert with vuejs

For small task

Akshay Bhardwaj 2020-01-17 07:13:01
Ok
rebory 2020-01-17 07:22:34
hmm i can try reset enviornment varible
rebory 2020-01-17 07:23:38
ok
rebory 2020-01-17 07:26:16
after update
rebory 2020-01-17 07:26:32
laravel_discuss-24472.jpg

rebory 2020-01-17 07:32:05
laravel_discuss-24476.jpg
when i run composer update
rebory 2020-01-17 07:32:06
laravel_discuss-24478.jpg

rebory 2020-01-17 07:32:06
laravel_discuss-24477.jpg

|