setting up stuff for a local php.ini with local tmp directories
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user