Browse Source

added a debug line to try to figure out why PHP Lumen is failing on Travis

Keith Newman 10 years ago
parent
commit
06388fd5c1
2 changed files with 8 additions and 2 deletions
  1. 5 2
      frameworks/PHP/lumen/deploy/nginx.conf
  2. 3 0
      frameworks/PHP/lumen/public/index.php

+ 5 - 2
frameworks/PHP/lumen/deploy/nginx.conf

@@ -7,7 +7,8 @@ events {
 }
 
 http {
-    include       /usr/local/nginx/conf/mime.types;
+    #include       /home/knewman/FrameworkBenchmarks/installs/nginx/conf/mime.types;
+    include /usr/local/nginx/conf/mime.types;
     default_type  application/octet-stream;
     access_log off;
     sendfile        on;
@@ -21,7 +22,8 @@ http {
         listen       8080;
         server_name  localhost;
 
-        root /home/ubuntu/FrameworkBenchmarks/lumen/public/;
+        #root /home/knewman/FrameworkBenchmarks/frameworks/PHP/lumen/public/;
+        root /home/ubuntu/Frameworks/lumen/public/;
         index  index.php;
 
         location / {
@@ -34,6 +36,7 @@ http {
             fastcgi_keep_conn on;
             fastcgi_index  index.php;
             fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
+            #include        /home/knewman/FrameworkBenchmarks/installs/nginx/conf/fastcgi_params;
             include        /usr/local/nginx/conf/fastcgi_params;
         }
 

+ 3 - 0
frameworks/PHP/lumen/public/index.php

@@ -2,5 +2,8 @@
 
 $app = require __DIR__.'/../bootstrap/app.php';
 
+echo "~~~~~~~~~~~~~~~ APP VAR DUMP ~~~~~~~~~~~~~";
+var_dump($app);
+
 $app->run();