How to Setting Up Slim

php

#1

Hi guys,

i tried to run an simple example with the slim framework in c9, but i can’t get it running.

I used the example from the “first application” tutorial on https://www.slimframework.com/docs/v3/tutorial/first-app.html

I read something about the documentRoot path of the webserver so i changed it in the file:
/etc/apache2/sites-enabled/001-cloud9.conf
DocumentRoot /home/ubuntu/workspace/project/src/public

but it seems that there are more, because i just get a 404 if i call URL/hello/joebloggs.

Some tipps for me? What i have to do?

I uploaded my folderstructure with the php file. Maybe there is an important information or someone would like to test it :stuck_out_tongue:

Thank you for your help :slight_smile: