setting up stuff for a local php.ini with local tmp directories

This commit is contained in:
Dan Buch 2010-12-31 13:48:40 -05:00
parent ea20a64098
commit ccc7b95af3
6 changed files with 1859 additions and 2 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
*.pid
docroot/nginx.conf
docroot/html/writable/*.*
docroot/php.ini

View File

@ -8,8 +8,8 @@ serve: nginx.conf
nginx -p $(ROOT)/ -c $(ROOT)/$<
serve-php:
php-cgi -b 127.0.0.1:$(PHP_FCGI_PORT)
serve-php: php.ini
php-cgi -c $< -b 127.0.0.1:$(PHP_FCGI_PORT)
nginx.conf: nginx.conf.in
@ -19,4 +19,8 @@ nginx.conf: nginx.conf.in
-e 's@__PHP_FCGI_PORT__@$(PHP_FCGI_PORT)@g' > $@
php.ini: php.ini.in
cat $< | sed -e 's@__ROOT__@$(ROOT)@g' > $@
.PHONY: serve

1852
docroot/php.ini.in Normal file

File diff suppressed because it is too large Load Diff

View File

View File

View File