dever 5 years ago
parent
commit
59274a7881

+ 1 - 1
container/conf/web/nginx/conf.d/domain.conf

@@ -8,7 +8,7 @@ server {
 
     charset $charset;
 
-    set $rootdir /www/laipinbei/public;
+    set $rootdir /www/pinbei/public;
     root $rootdir;
     index index.php index.html;
     if (!-d $request_filename){

+ 2 - 2
container/conf/web/nginx/conf.d/site.conf

@@ -69,8 +69,8 @@ server {
 
         # With php-cgi alone:
         #fastcgi_pass web-php7_swoole:9000;
-        fastcgi_pass web-php7:9000;
-        #fastcgi_pass web-php5:9000;
+        #fastcgi_pass web-php7:9000;
+        fastcgi_pass web-php5:9000;
         # With php-fpm:
         #fastcgi_pass unix:/var/run/php7-fpm.sock;
         fastcgi_index index.php;

+ 1 - 1
container/conf/web/php5/php.ini

@@ -199,7 +199,7 @@ engine = On
 ; Development Value: Off
 ; Production Value: Off
 ; http://php.net/short-open-tag
-short_open_tag = Off
+short_open_tag = On
 
 ; Allow ASP-style <% %> tags.
 ; http://php.net/asp-tags

+ 1 - 1
src/docker/conf/web.conf

@@ -31,7 +31,7 @@ alias = php,composer,pecl,apk,/install.sh->phpInstall
 [php7]
 #port = 8082:8080
 #image = php7_swoole
-port = 2346:2346,1236:1236,1237:1237,1238:1238
+port = 2346:2346,1236:1236,1237:1237,1238:1238,8282:8282
 volumes = {container}web:/www,{container}conf/web/php7:/etc/php7
 alias = php,composer,pecl,apk,/install.sh->phpInstall