Skip to content

Commit

Permalink
Fixed PHP5-FPM socket permissions and port
Browse files Browse the repository at this point in the history
Fixes #18
  • Loading branch information
javer committed Jul 8, 2014
1 parent 0c2efde commit 998be42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ apt-get install -y nginx-full \
unzip apache2-utils
cp -R /vagrant/etc/* /etc/
chmod +x /etc/init.d/hhvm
mv /etc/php5/fpm/pool.d/www.conf /etc/php5/fpm/pool.d/www.conf.dist
echo Initializing site
mkdir -p /var/www
Expand Down
3 changes: 3 additions & 0 deletions etc/php5/fpm/pool.d/site.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
listen = /var/run/php-fpm.sock
user = vagrant
group = vagrant
listen.owner = www-data
listen.group = www-data
listen.mode = 0666
pm = dynamic
pm.max_children = 10
pm.start_servers = 2
Expand Down

0 comments on commit 998be42

Please sign in to comment.