How to upload Slim project on the new host?

Hi, I found one of my old projects on Slim Frimework.
However I did not work with SLim loong time, and have no idea already how to set it up on the new server and run. I have just .zip file with all files. Can someone please help me?

Thanks ina dvance!

What have you tried so far? What exactly is not working?

I dont reallt know how to do it. I tried to move all files under public_html directory, but it does not open files. probably needs to be installed somehow.

I tried toinstall framework itslef.

Try to set the public/ directory as DocumentRoot.

*ts not possible on the host as support says…

Is it possible please to try to install in your end?

You can consult me if you need someone to install it. Otherwise try the following steps first:

  1. Open public/.htaccess and remove this line RewriteBase /~xkhachat/devel/public
# Redirect to front controller
RewriteEngine On
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
  1. Create a second .htaccess file in your project root directory and copy/paste this content:
RewriteEngine On
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]

This `.htaccess’ file in your project root directory redirects traffic internally to the public directory.

Read more: Slim - Apache configuration

Can you please install it ?