20
linuxxx
6y

"let's quickly compile php by hand and get php-fpm running!"

All is compiled well but I can't, for the love of what-the-fuck-ever figure out how to load extensions within the configuration and the internet isn't helping out much either.

How fucking difficult can this be?!

Comments
  • 4
    No worries, PHP, I still love you ❤
  • 0
    Doesnt php-fpm has its own config?
  • 0
    @stop Yup, but I can't set the extension_dir directive there and when including php.INI files it just throws "unknown directive" errors on everything.
  • 0
    @linuxxx i meant php.ini. all distros i use at the company that have php have their php.ini for php-fpm
  • 0
    Perhaps try the read-to-go dockerfile and mount a config?
  • 2
    @alexbrooklyn linuxxx would never seperate himself from php more than needed. He would marry php if he could.
  • 0
    @linuxxx try creating a super basic ini config, and pass it to php-fpm with the -c flag, see if you continue to get errors. You could also see what happens when you run php-fpm -n, which will not use the php.ini. I’m not sure what to expect exactly with that last flag, but might end up giving some helpful output
  • 0
    "quickly"
  • 0
    @kescherRant
  • 0
    @kescherRant I know, I regularly do that but I just can't get the config right...

    @highlight Yeah it gives errors when I apply that
  • 0
  • 0
    @kescherRant Yes they have been, some through apt, some through pecl.
  • 0
    @kescherRant Decided to migrate and all is good again within half an hour haha
Add Comment