php-fpm

Fucken’a

MMDAS PURAS MMDAS

The fucken site broke and I had no idea why.

Nginx seemed to be okay. PHP seemed to be okay. MariaDB had nothing to do with any of this. But anything PHP-based was throwing a fit and just didn’t work at all and of course logging in PHP is hit-or-miss.

After banging my head for two fucken nights I just backed everything up and nuked the server. Switched fron nginx back to Apache, downgraded to PHP 7.3 and kept MariaDB.

I’m just going to keep stuff on Debian Stable for the time being.


Update 2021-03-02_03-28

I’M STILL DEALING WITH THIS.

Fucken’a Read More »

nginx + hhvm

I’m not sure what I did, but I finally got it to work. My previous configuration had nginx watch out for a 502 BAD GATEWAY error to switch from HHVM to php-fpm.

Too bad that every single PHP request invoked a 502 error. But my blog worked and I didn’t check the logs cos I happily thought everything was working.

Until it didn’t.

MariaDB bitched. Then php-fpm started using 100% CPU until it killed MariaDB. nginx didn’t care cos it doesn’t use that much memory to begin with. But the end result of all this was that my blog didn’t work.

Ended up reinstalling everything from scratch. Then it somehow works. I should write up about it later so I don’t forget.

But right now I need to shower so I can be at work in a half hour. Yes, at 0630. And now WordPress is bitching about something going wrong. I’ll probably just end up switching back to good ol’ Apache with the standard PHP module in.

nginx + hhvm Read More »