U
U
ukidoshi _2021-04-08 17:53:56
*nix-like systems
ukidoshi _, 2021-04-08 17:53:56

How to make a symbolic link public_html pointing to the root directory of the project?

Unable to deploy site to symphony. They gave me a file with a finished project and told me to deploy it on the hosting.

According to the documentation, I threw all the files to the root directory, where the public_html folder is located. Then they write that you need to make the public_html folder a symbolic link to the web folder. Below we added the lines that need to be registered in ssh:

[email protected]:~/symfony [0] $ ln -s web public_html
[email protected]:~/symfony [0] $


Registered. There are no errors. BUT! The symbolic link ended up inside the public_html folder, i.e. it appeared here: /home/d/user_name/site/public_html/ public_html and you need

it here:
/home/d/user_name/site/ public_html

I am one hundred percent sure that I did the procedure while in the root of the disk

folder public_html, located in the root directory, became symbolic?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question