Skip to content

Instantly share code, notes, and snippets.

@bes1002t
bes1002t / php-fpm.sh
Last active November 28, 2017 23:01 — forked from mrPsycho/php-fpm.sh
[phpenv][php-build] php-fpm's init file
#! /bin/sh
#
# run as current user
# > mkdir ~/.phpenv/init
# > vim 5.3.19
#
# before, you should edit php-fpm.conf
# and comment out [www] user and group.
PHP_VERSION=$(phpenv version | sed 's/ (.*//')