NGINX PHP MySQL FreeBSD

Quick run through getting NGINX, PHP and MySQL running on FreeBSD 11.1 colin@openproject:~ % sudo pkg install -y nginx mysql56-server php56 php56-mysql … colin@openproject:~ % sudo sysrc mysql_enable=YES; sudo sysrc nginx_enable=YES; sudo sysrc php_fpm_enable=YES colin@openproject:~ % sudo mv /usr/local/etc/php-fpm.conf ./php-fpm.conf.bak colin@openproject:~ % sed s/’listen = 127.0.0.1:9000’/’listen = \/var\/run\/php-fpm.sock’/g ./php-fpm.conf.bak | sed s/’;listen.owner = www’/’listen.owner =[…]

WordPress Rewrite URL

Been ripping my hair out trying to keep my blogpost links alive after porting to WP from flask… needed to transform my URLs to lower and swap underscores.. After a few overnights scrambling together code with no luck (I am behind nginx, and could prolly do it there).. but VX in #wordpress on freenode helped[…]