setting up stuff for a local php.ini with local tmp directories
This commit is contained in:
@@ -2,3 +2,4 @@
|
|||||||
*.pid
|
*.pid
|
||||||
docroot/nginx.conf
|
docroot/nginx.conf
|
||||||
docroot/html/writable/*.*
|
docroot/html/writable/*.*
|
||||||
|
docroot/php.ini
|
||||||
|
|||||||
+6
-2
@@ -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
|
||||||
|
|||||||
+1852
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user