# How to deploy Slim Application on cpanel?

**URL:** <https://discourse.slimframework.com/t/how-to-deploy-slim-application-on-cpanel/837>\
**Category:** Questions\
**Created:** [October 24, 2016, 1:01pm UTC](https://discourse.slimframework.com/t/how-to-deploy-slim-application-on-cpanel/837 "2016-10-24T13:01:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmedfekry](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@ahmedfekry](https://discourse.slimframework.com/u/ahmedfekry)\
**Post date:** [October 24, 2016, 1:01pm UTC](https://discourse.slimframework.com/t/how-to-deploy-slim-application-on-cpanel/837/1 "2016-10-24T13:01:14Z")

</div>

I am new to Slim Framework and cpanel. When i build a slim application and drag and drop the files into Cpanel file manager the application does not work.I just drag a drop the files generated from this command without any edit.( composer create-project -s dev fabpot/silex-skeleton API ). Can anyone help what am i doing wrong ? of if it need some sort of configuration on Cpanel.

---

<div class="post-metadata">

**Author:** ![damianopetrungaro](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/damianopetrungaro/32/236_2.png) [@damianopetrungaro](https://discourse.slimframework.com/u/damianopetrungaro)\
**Post date:** [October 24, 2016, 1:19pm UTC](https://discourse.slimframework.com/t/how-to-deploy-slim-application-on-cpanel/837/2 "2016-10-24T13:19:20Z")

</div>

You installed a skeleton for silex not for slim

> composer create-project -s dev fabpot/silex-skeleton API

Anyway, did you run the composer install command (Check if exists a vendor directory)?

PS Check the log for see what’s wrong.

---

<div class="post-metadata">

**Author:** ![ahmedfekry](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@ahmedfekry](https://discourse.slimframework.com/u/ahmedfekry)\
**Post date:** [October 24, 2016, 5:43pm UTC](https://discourse.slimframework.com/t/how-to-deploy-slim-application-on-cpanel/837/3 "2016-10-24T17:43:31Z")

</div>

the log file does not show anything. yes the vendor directory exists and the application is working perfectly on my local machine but the requests is giving me `500 internal server error` and the log had some permissions issues but i fixed it. it is just driving me crazy because i can’t find out what is wrong.

---

<div class="post-metadata">

**Author:** ![damianopetrungaro](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/damianopetrungaro/32/236_2.png) [@damianopetrungaro](https://discourse.slimframework.com/u/damianopetrungaro)\
**Post date:** [October 25, 2016, 10:04am UTC](https://discourse.slimframework.com/t/how-to-deploy-slim-application-on-cpanel/837/4 "2016-10-25T10:04:48Z")

</div>

Check you apache logs.  
Your request is too generic, i can’t help you 😕
