4
arnyek
7y

So a few months ago I decided to use Slim Framework for the smaller projects. I chose it mainly because of the number of the recommendations here when I asked for help. The other reason is the PHP version of our server (which we can't change unfortunately). Everything about Slim is pretty awesome. It's easy to use and stuff - but without virtual hosts, I can't run multiple sites written with it on our server. The last uploaded one always wins in selecting vendor and config paths, and so the older ones want to use those new paths, too. This generates a lot of errors in the log and of course, we can't load completely any sites but the last uploaded one. We've tried everything until now, so guess we need a workaround.

Comments
  • 2
    1. Set up Docker on the Server
    2. Put those legacy apps with those lame old php versions into a container
    3. spin up a container with the newest techstack
    4. enojoy your dev life

    https://goto.docker.com/rs/...
  • 2
    Not sure exactly how you’re running it, but we use one Slim 3 app for a bunch of websites and we configured it in a way that works well for us. If you’re interested I can give some more details.
  • 2
    @heyheni we don't have enough permissions for that - fyi, we only have ftp access

    @dfox that would be great, thanks
Add Comment