In this post, I would like to show you deploying your slim framework project to CPanel (without SSH access). In general, for CPanel, the web root directory will be
So now move all the files from your slim project
public directory to the
public_html directory. After uploading
index.php files that were previously in your
public folder and now they will be in your
public_html and other folders and files,
src/,vendor/,composer.json,composer.lock etc will live in the top level directory so src/and vendor/ and etc… will be right alongside
public_html as shown in the below image:
I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.
I am Arjun from Hyderabad (India). I have been working as a software engineer from the last 7+ years, and it is my passion to learn new things and implement them as a practice. Aside from work, I like gardening and spending time with pets.