E
E
Eugene2020-09-06 12:27:44
Laravel
Eugene, 2020-09-06 12:27:44

How to make deploy in such conditions?

Hello!

There is a simple shared hosting. There is no SSH access.
The local Windows machine is running Openserver. It has a website in laravel.

Question. How to transfer the site to a hosting (this will be a production version) in such conditions.
/switch hosting as a solution not yet suitable/

Google read, but basically all solutions are not suitable due to the lack of SSH access.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2020-09-06
@delphinpro

In general, just like any other site:
Copy all files via ftp, upload the database dump, fix the database connection configs.
In the case of Laravel, you need to be able to assign DOCUMENT_ROOT to the public folder on the shared, or scam the configs in the lark so that it all lies in the doc root (do not forget to block access to the necessary folders in htaccess).
If the first and second are undesirable / impossible, then we look at what is on the hosting. Often the public folder of the site is located in some public_html or my-site.com and there is access to a higher level via ftp.
Then it's a little easier - in the stall you just need to change the name of the public directory to what you have on the hosting.
Sometimes tech support comes forward and can make you a symlink to public. try to chat.

spoiler
5f54b1405cfcc242466268.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question