Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

namik-mesic's avatar

Shared hosting, no ssh, cpp / c files not permitted for upload

Hello dear community,

I have to get a project running on a shared hosting solution. The php version can be adjusted to match the needs of laravel, but I will be getting no ssh access.

That's something I can deal with, but the troubling part is that while uploading an early 'alpha' my IP was banned (and later, unbanned) because we were uploading c / cpp files (some symfony dependancies). Sure, the hosting pardoned us and we were allowed to upload anyway after we explained everything.

So my questions are:

  1. Does Laravel core really need these files? If not, how do I get rid of them so I don't have to deal with situations like these with hosting companies?

  2. Is there any nice wrapper package designed for providing an interface for commands in an "adminpanel-like" environment?

Of course, I would love having my own Forge hosting solution at all times but that is not possible at the moment.

Thank you!

0 likes
5 replies
bashy's avatar
  1. You do need them.
  2. Have a search around.
rleecrewmp's avatar

Can I ask which provider you're using, how much your paying and your specific ties with said provider? Just wondering because their are many affordable shared-hosting solutions that come with SSH access and other aspects that make for the Laravel to be less of a headache.

jwjcmw's avatar

just curious what c or cpp files you are referring to. I just checked my current 4.2 project, and found none, and installed a new 5 project and found none there either. I'm fairly new to Laravel, so I'm wondering if I'm missing something.

jwjcmw's avatar

Never mind...found it...the install of my 5 project hadn't completed because I was running an earlier version of PHP. One file: symfony_debug.c Now I'm just curious as to why that file would be necessary...I mean, is this getting compiled at some point? It seems likely that shared hosts would limit access to gcc.

Please or to participate in this conversation.