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

cat-town
Dan Buch 14 years ago
parent ea20a64098
commit ccc7b95af3

1
.gitignore vendored

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

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

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save