{"_id":"sng","_rev":"58-36f4c1cba8845a61e5de78d6f8158132","name":"sng","description":"THE script that manages NGinx/PHP developement server","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.1":{"name":"sng","version":"0.0.1","description":"Just a small script to launch a NGinx/PHP server for testing purpose","keywords":["nginx php server"],"bin":{"sng":"./sng.js"},"dependencies":{"optimist":">=0.2.5"},"_id":"sng@0.0.1","contributors":[{"name":"Félix Delval","email":"felix.delval@gmail.com"},{"name":"Christophe Eymard","email":"christophe.eymard@gmail.com"}],"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"7ac16df87b3a159fa8755289727623f558ab38ae","tarball":"https://registry.npmjs.org/sng/-/sng-0.0.1.tgz","integrity":"sha512-oi75Qt0tiBWlQtfB2x/bQ51J0HN0ZZ/IhTetSn5CbMveofvOPIeHFOYFGKvjw2qUygQ/kjrr6Tuyf2TniuIxaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEGtuAbJ3MqW9+FEngJuLGUv0w6AlLuNITMPNWqiP6QwIhALXohrNheLB57H8PCanYcJ139qLv4Mt4QNWyjq+d2ypK"}]},"scripts":{},"directories":{}},"0.0.2":{"name":"sng","version":"0.0.2","description":"Just a small script to launch a NGinx/PHP server for testing purpose","keywords":["nginx php server"],"bin":{"sng":"./sng.js"},"dependencies":{"optimist":">=0.2.5"},"_id":"sng@0.0.2","contributors":[{"name":"Félix Delval","email":"felix.delval@gmail.com"},{"name":"Christophe Eymard","email":"christophe.eymard@gmail.com"}],"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"ca64dad3531b79d24357578050f89bbfcb055d53","tarball":"https://registry.npmjs.org/sng/-/sng-0.0.2.tgz","integrity":"sha512-cVsde0HH+fYK85DaVkWdnoivbGL0rLEFS9PpgXq9jeOcK6PcifyGt3N2mSISz6i2sRAaXveYvHvhzeEwicDhqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICLD4aANTTSD22qBY6uWlszZrTmEIUxyuxkcKqkviQAWAiByCssdlJNbRLQq8NYMM21oq+IQ9ZYnYXiFNXZI/7hZ2g=="}]},"scripts":{},"directories":{}},"0.0.3":{"name":"sng","version":"0.0.3","description":"Just a small script to launch a NGinx/PHP server for testing purpose","keywords":["nginx php server"],"bin":{"sng":"./sng.js"},"dependencies":{"optimist":">=0.2.5"},"_id":"sng@0.0.3","contributors":[{"name":"Félix Delval","email":"felix.delval@gmail.com"},{"name":"Christophe Eymard","email":"christophe.eymard@gmail.com"}],"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"8a6644415a323fa03227014917a8cbd6f234793c","tarball":"https://registry.npmjs.org/sng/-/sng-0.0.3.tgz","integrity":"sha512-YhzZ1tjT4lb0uSzCF1RAlQgYQCc3MjUhi+Epyanr3gI+sStjnVyhB8iJMVx5/7REGeBr5rBivn6m6IswY60/lQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3wehv4A+2f84JqBC0dTWp0o8Pwwykc71Y87qaukkIIQIhAM13IUn6gts7LKCj1PUNGSvpYF+vAfOrsr6bfZEAcVC/"}]},"scripts":{},"directories":{}},"0.0.4":{"name":"sng","version":"0.0.4","description":"Just a small script to launch a NGinx/PHP server for testing purpose","keywords":["nginx php server"],"bin":{"sng":"./sng.js"},"dependencies":{"optimist":">=0.2.5"},"_id":"sng@0.0.4","contributors":[{"name":"Félix Delval","email":"felix.delval@gmail.com"},{"name":"Christophe Eymard","email":"christophe.eymard@gmail.com"}],"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"7a98db2e2ef132852dbc4b80eb1b41fa41df22de","tarball":"https://registry.npmjs.org/sng/-/sng-0.0.4.tgz","integrity":"sha512-F/uR256tzDaNf+7nwVTyax13Z7HuoQVBRLt194VnYZXCITiDvHIQ5eK13eSORL6GroRwIWF3PPtmkLhtfr0LMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGWxIFcATYI3/xt+qfLGcKeIkzw3wZPNg0BqoDzxZhtSAiB5ytBtBh7gSuIxsFacT7ZNYNAzDJW+3Y2TUBi8SYJ5Jg=="}]},"scripts":{},"directories":{}},"0.0.5":{"name":"sng","version":"0.0.5","description":"Just a small script to launch a NGinx/PHP server for testing purpose","keywords":["nginx php server"],"bin":{"sng":"./sng.js"},"dependencies":{"optimist":">=0.2.5"},"_id":"sng@0.0.5","contributors":[{"name":"Félix Delval","email":"felix.delval@gmail.com"},{"name":"Christophe Eymard","email":"christophe.eymard@gmail.com"}],"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"488ea7d866785496cd83c04d7d50d5ae381336d4","tarball":"https://registry.npmjs.org/sng/-/sng-0.0.5.tgz","integrity":"sha512-9duytl4k8naS/KlP6icM+0kLi1YqYyIyyXvvOU9T8VePgjZsPF08k5reI0fOI+MiSRMpI/u8BPxridgqVLBxYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFF9Oc1/ZVlbF0Lybeacu+n4ytSY5M2BI6LQUYByq1OwAiEAkDn2hj8kNTj+CBSF4kOpvpPTDvZQHv9EBWiXxcXMbus="}]},"scripts":{},"maintainers":[{"name":"fe_lix_","email":"felix.delval@gmail.com"}],"directories":{}},"0.0.6":{"name":"sng","version":"0.0.6","description":"THE script that manages NGinx/PHP developement server","keywords":["nginx","php","developement server","fun"],"homepage":"http://code.ravelsoft.com/node-sng","directories":{"templates":"templates"},"repository":{"type":"hg","url":"https://bitbucket.org/ravelsoft/node-sng"},"bin":{"sng":"./sng.js"},"engines":{"node":">=0.4.0"},"dependencies":{"optimist":">=0.2.5","jinjs":">=0.2.0"},"devDependencies":{"coco":"0.5.4"},"author":{"name":"Félix Delval","email":"contact@ravelsoft.com","url":"http://www.ravelsoft.com"},"licence":"MIT/X11","_id":"sng@0.0.6","contributors":[{"name":"Félix Delval","email":"felix.delval@gmail.com"},{"name":"Christophe Eymard","email":"christophe.eymard@gmail.com"}],"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"a2597b0f72d7d3908129a0c7d869a64c5a77fac2","tarball":"https://registry.npmjs.org/sng/-/sng-0.0.6.tgz","integrity":"sha512-jqXcISHEz3z5AhUUH9vAmIeU5qZIbEvvvnxzZ4HhlPi64clyyab9WyLIHKsqJmODitcXmH5SGeOFoMxEfQFq6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjREaACYR5iWB6QsA/lLdzSOkXAnA+6yiyObi2h4m+UQIgUhcWbwN9dZ4MLhnoZb5mKrOQ4ISYYRjI1gGN4H6P2pU="}]},"scripts":{},"maintainers":[{"name":"fe_lix_","email":"felix.delval@gmail.com"}]},"0.0.7":{"name":"sng","version":"0.0.7","description":"THE script that manages NGinx/PHP developement server","keywords":["nginx","php","developement server","fun"],"homepage":"http://code.ravelsoft.com/node-sng","directories":{"templates":"templates"},"repository":{"type":"hg","url":"https://bitbucket.org/ravelsoft/node-sng"},"bin":{"sng":"bin/cli.js"},"engines":{"node":">=0.4.0"},"dependencies":{"optimist":">=0.2.5","jinjs":">=0.2.0"},"devDependencies":{"coco":"0.5.4","vows":">=0.5.9"},"author":{"name":"Félix Delval","email":"contact@ravelsoft.com","url":"http://www.ravelsoft.com"},"licence":"MIT/X11","_id":"sng@0.0.7","contributors":[{"name":"Félix Delval","email":"felix.delval@gmail.com"},{"name":"Christophe Eymard","email":"christophe.eymard@gmail.com"}],"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"1d9da3ce0bd8661ccc4057abda643ca0b811bd62","tarball":"https://registry.npmjs.org/sng/-/sng-0.0.7.tgz","integrity":"sha512-lottnQ8+qQN86IwAYk+OLsvuMlQ/ZeeV8qnI+OYl9sRYotr+Bz0Yk2LPDyrzSMPwEm2dImYFI+Cbpthj5E+XFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDaw7RhSjoyTw79vubiaCHA8XI/bFXsDhtt4qBtQJ8RoAiBCqX3V37oC2Iq5Qp1hRgR5haE2AhrW1u7eNoJ9Az0E6Q=="}]},"scripts":{},"maintainers":[{"name":"fe_lix_","email":"felix.delval@gmail.com"}]},"0.0.8":{"name":"sng","version":"0.0.8","description":"THE script that manages NGinx/PHP developement server","keywords":["nginx","php","developement server","fun"],"homepage":"http://code.ravelsoft.com/node-sng","directories":{"templates":"templates"},"repository":{"type":"hg","url":"https://bitbucket.org/ravelsoft/node-sng"},"bin":{"sng":"bin/cli.js"},"engines":{"node":"0.4.x | 0.5.x"},"dependencies":{"optimist":"0.2.x","jinjs":"latest"},"devDependencies":{"coco":"0.5.x","vows":"0.5.x"},"author":{"name":"Félix Delval","email":"contact@ravelsoft.com","url":"http://www.ravelsoft.com"},"licence":"MIT/X11","_id":"sng@0.0.8","contributors":[{"name":"Félix Delval","email":"felix.delval@gmail.com"},{"name":"Christophe Eymard","email":"christophe.eymard@gmail.com"}],"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"0c753a0d686870b2f5c35a0e8a2511f01214e881","tarball":"https://registry.npmjs.org/sng/-/sng-0.0.8.tgz","integrity":"sha512-IhauCjKZmnV4N4buXy8DS8TexdczPUh6t3ngcqD+SvYghJzZa8EBFDTF53zvYt0XKtWod+dg0yQ/Zf06N9YERg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFS8GI4DU8zNTk/ExMNtCjFWWdqqkaSfHlCBy6CxUwgqAiBUi0VizR7CsjeEIxWUa25OyzXuiGhajMBpzeLg37IOQw=="}]},"scripts":{},"maintainers":[{"name":"fe_lix_","email":"felix.delval@gmail.com"}]},"0.0.9":{"name":"sng","version":"0.0.9","description":"THE script that manages NGinx/PHP developement server","keywords":["nginx","php","developement server","fun"],"homepage":"http://code.ravelsoft.com/node-sng","directories":{"templates":"templates"},"repository":{"type":"hg","url":"https://bitbucket.org/ravelsoft/node-sng"},"bin":{"sng":"bin/cli.js"},"dependencies":{"optimist":"latest","jinjs":"latest"},"devDependencies":{"coco":"latest","vows":"latest"},"author":{"name":"Félix Delval","email":"contact@ravelsoft.com","url":"http://www.ravelsoft.com"},"licence":"MIT/X11","_npmUser":{"name":"fe_lix_","email":"felix.delval@ravelsoft.com"},"_id":"sng@0.0.9","contributors":[{"name":"Félix Delval","email":"felix.delval@gmail.com"},{"name":"Christophe Eymard","email":"christophe.eymard@gmail.com"}],"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-beta-4","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"80ed6ffc34c3a9837416d1c2225cf6420b142d32","tarball":"https://registry.npmjs.org/sng/-/sng-0.0.9.tgz","integrity":"sha512-S84TYA6c5Ns3qAAdnbMyGBpgD4OvNRfNPOwKqgVSTcr5axZvrAlqKMKj4iwNuSeKK5JuuWYwZx4SvdE1b3Wftg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtMMAU8mH/8tbL06s+w8A2pVSsPz+TD6c69cMan2ctlgIhAOnNuunV10K2Busj8PiEXc8NMv1YWjixwHdSwtmTk7gl"}]},"readme":"# sng\n\nA lightweight launcher for a PHP/Nginx development server\n\n## Why?\n\nTo give the possibility to a user without admin privileges to easily launch a PHP development server.\n\n## Requirements?\n\n * PHP in CGI mode: php-cgi -v must returns php-fcgi in output\n * Nginx server\n \nOn Ubuntu systems:\n\n    sudo apt-get install nginx-full php5-cgi \n\n## Install\n    npm install sng\n    \nTo install globally in system use:\n\n    npm install sng -g\n\n## Usage\n    sng [basedir]\n\n    Options:\n      -n, --nginx-base  Default binding NGinx wil be listening on            [default: \"127.0.0.1:8000\"]\n      -p, --php-bind    Default binding address for php-cgi                  [default: \"127.0.0.1:9000\"]\n      -b, --behavior    Changes behavior. Avialable are: \"standard\", \"zend\"  [default: \"standard\"]\n\n","maintainers":[{"name":"fe_lix_","email":"felix.delval@gmail.com"}]},"0.0.10":{"name":"sng","version":"0.0.10","description":"THE script that manages NGinx/PHP developement server","keywords":["nginx","php","developement server","fun"],"homepage":"http://code.ravelsoft.com/node-sng","directories":{"templates":"templates"},"repository":{"type":"hg","url":"https://bitbucket.org/ravelsoft/node-sng"},"bin":{"sng":"bin/cli.js"},"dependencies":{"optimist":"latest","jinjs":"latest"},"devDependencies":{"coco":"latest","vows":"latest"},"author":{"name":"Félix Delval","email":"contact@ravelsoft.com","url":"http://www.ravelsoft.com"},"licence":"MIT/X11","_npmUser":{"name":"fe_lix_","email":"felix.delval@ravelsoft.com"},"_id":"sng@0.0.10","contributors":[{"name":"Félix Delval","email":"felix.delval@gmail.com"},{"name":"Christophe Eymard","email":"christophe.eymard@gmail.com"}],"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.9","_defaultsLoaded":true,"dist":{"shasum":"fc07951f905cf3375c7f362125c563aa4ee6ac95","tarball":"https://registry.npmjs.org/sng/-/sng-0.0.10.tgz","integrity":"sha512-Pu3dW3EZ9Hg7Ce/ogl3FmTNs/lKbV6XJPNoujENUoLWX0y9PHxNplwWlmqh36ktkKiBecW1U4r76k0XdxjuNVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICLVb9kKijI8ZU+Et18JyAklLfLlzKtVmN7syrmzuB1JAiEA8ohvs9cykdnd/DFA3IpahWfqk+0X9NTn29pqdFxx7uQ="}]},"readme":"# sng\n\nA lightweight launcher for a PHP/Nginx development server\n\n## Why?\n\nTo give the possibility to a user without admin privileges to easily launch a PHP development server.\n\n## Requirements?\n\n * PHP in CGI mode: php-cgi -v must returns php-fcgi in output\n * Nginx server\n \nOn Ubuntu systems:\n\n    sudo apt-get install nginx-full php5-cgi \n\n## Install\n    npm install sng\n    \nTo install globally in system use:\n\n    npm install sng -g\n\n## Usage\n    Options:\n      -n, --nginx-base        Default binding NGinx wil be listening on            [default: \"127.0.0.1:8000\"]\n      -p, --php-bind          Default binding address for php-cgi                  [default: \"127.0.0.1:9000\"]\n      -b, --behavior          Changes behavior. Avialable are: \"standard\", \"zend\"  [default: \"standard\"]\n      -x, --extra-directives  Extra directives file for the NGinx server \n\n","maintainers":[{"name":"fe_lix_","email":"felix.delval@gmail.com"}]},"0.1.0":{"name":"sng","version":"0.1.0","description":"THE script that manages NGinx/PHP developement server","keywords":["nginx","php","developement server","fun"],"homepage":"http://code.ravelsoft.com/node-sng","directories":{"templates":"templates"},"repository":{"type":"hg","url":"https://bitbucket.org/ravelsoft/node-sng"},"bin":{"sng":"bin/cli.js"},"dependencies":{"optimist":"latest","jinjs":"latest"},"devDependencies":{"coco":"latest","vows":"latest"},"author":{"name":"Félix Delval","email":"contact@ravelsoft.com","url":"http://www.ravelsoft.com"},"licence":"MIT/X11","_npmUser":{"name":"fe_lix_","email":"felix.delval@ravelsoft.com"},"_id":"sng@0.1.0","contributors":[{"name":"Félix Delval","email":"felix.delval@gmail.com"},{"name":"Christophe Eymard","email":"christophe.eymard@gmail.com"}],"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.9","_defaultsLoaded":true,"dist":{"shasum":"ab2f8da1443be6c5b17d2b5291c1a75a694323c2","tarball":"https://registry.npmjs.org/sng/-/sng-0.1.0.tgz","integrity":"sha512-XQSo1n4RPiFh8d7Pnvx3GvCgQf2PpTzhC9IHTL28++SkN/DWfKZScfBKFDMtVIX2x3FLlcFSU+5xBBO/e/PCCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFcLNM5u1Wa//RIeXUnrKU66LpTapzTcO8NuYHhFo8STAiBuGGtNMH3zMbiE5Ep8jXDFDPyjVV55YQZfG0Y+xiy+XQ=="}]},"readme":"# sng\n\nA lightweight launcher for a PHP/Nginx development server\n\n## Why?\n\nTo give the possibility to a user without admin privileges to easily launch a PHP development server.\n\n## Requirements?\n\n * PHP in CGI mode: php-cgi -v must returns php-fcgi in output\n * Nginx server\n \nOn Ubuntu systems:\n\n    sudo apt-get install nginx-full php5-cgi\n\nOn archlinux:\n\t\n\tpacman nginx php-cgi\n\n## Install\n\nTo install sng locally : \n\n    npm install sng\n    \nTo install globally in system use:\n\n    npm install sng -g\n\n## Usage\n    Options:\n      -n, --nginx-base        Default binding NGinx wil be listening on            [default: \"127.0.0.1:8000\"]\n      -p, --php-bind          Default binding address for php-cgi                  [default: \"127.0.0.1:9000\"]\n      -b, --behavior          Changes behavior. Avialable are: \"standard\", \"zend\"  [default: \"standard\"]\n      -x, --extra-directives  Extra directives file for the NGinx server \n\n## Configuration files\n\nYou can directly store the configuration file in the root folder of the server. sng will look for .sng.conf.tpl files in the root folder. A very basic configuration file would look like that : \n\n\tlocation / {\n\t    if ($uri ~ \"\\.php\") {\n\t        fastcgi_pass {{ php_bind }};\n\t    }\n\t    access_log  {{ tmpdir }}/access.log mine;\n\t}\n\nWarning : The {{ php_bind }} represents the ip and port on which php-cgi is running, for exemple 127.0.0.1:80 is the default binding.\n","maintainers":[{"name":"fe_lix_","email":"felix.delval@gmail.com"}]},"0.2.0":{"name":"sng","version":"0.2.0","description":"THE script that manages NGinx/PHP developement server","keywords":["nginx","php","developement server","fun"],"homepage":"https://github.com/fe-lix-/node-sng","directories":{"templates":"templates"},"repository":{"type":"git","url":"https://github.com/fe-lix-/node-sng"},"bin":{"sng":"bin/cli.js"},"dependencies":{"optimist":"0.6.x","swig":"1.2.x"},"devDependencies":{"vows":"latest"},"author":{"name":"Félix Delval","email":"felix.delval@gmail.com","url":"http://blog.delval.eu"},"licence":"MIT/X11","contributors":[{"name":"Félix Delval","email":"felix.delval@gmail.com"},{"name":"Christophe Eymard","email":"christophe.eymard@gmail.com"}],"readme":"# sng\n\nA lightweight launcher for a PHP/Nginx development server\n\n## Why?\n\nTo give the possibility to a user without admin privileges to easily launch a PHP development server.\n\n## Requirements?\n\n * PHP in CGI mode: php-cgi -v must returns php-fcgi in output\n * Nginx server\n \nOn Ubuntu systems:\n\n    sudo apt-get install nginx-full php5-cgi\n\nOn archlinux:\n\t\n\tpacman nginx php-cgi\n\n## Install\n\nTo install sng locally : \n\n    npm install sng\n    \nTo install globally in system use:\n\n    npm install sng -g\n\n## Usage\n    Options:\n      -n, --nginx-base        Default binding NGinx wil be listening on            [default: \"127.0.0.1:8000\"]\n      -p, --php-bind          Default binding address for php-cgi                  [default: \"127.0.0.1:9000\"]\n      -b, --behavior          Changes behavior. Avialable are: \"standard\", \"zend\"  [default: \"standard\"]\n      -x, --extra-directives  Extra directives file for the NGinx server \n\n## Configuration files\n\nYou can directly store the configuration file in the root folder of the server. sng will look for .sng.conf.tpl files in the root folder. A very basic configuration file would look like that : \n\n\tlocation / {\n\t    if ($uri ~ \"\\.php\") {\n\t        fastcgi_pass {{ php_bind }};\n\t    }\n\t    access_log  {{ tmpdir }}/access.log mine;\n\t}\n\nWarning : The {{ php_bind }} represents the ip and port on which php-cgi is running, for exemple 127.0.0.1:80 is the default binding.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/fe-lix-/node-sng/issues"},"_id":"sng@0.2.0","dist":{"shasum":"7cddb80edbdededa4c6e2f959d688ea0e5c080f8","tarball":"https://registry.npmjs.org/sng/-/sng-0.2.0.tgz","integrity":"sha512-+4Zuf8Z5dW5xVKS/vLhCbgaiCEszZvd7yfomlMyNO88Ijg+L7UErGlrKtZmLza3jPrL+ZAxVp5TkiyU9TOtV2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFd6bisQaBQpYJcbc37h/HgAl/Tr+3CpURN7DmyMDGg1AiAg3CJ8QFpGvSVTIpYszP98bdtwYdi8OLiypjYBByBZxQ=="}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"fe_lix_","email":"felix.delval@gmail.com"},"maintainers":[{"name":"fe_lix_","email":"felix.delval@gmail.com"}]},"0.2.1":{"name":"sng","version":"0.2.1","description":"THE script that manages NGinx/PHP developement server","keywords":["nginx","php","developement server","fun"],"homepage":"https://github.com/fe-lix-/node-sng","directories":{"templates":"templates"},"repository":{"type":"git","url":"https://github.com/fe-lix-/node-sng"},"bin":{"sng":"bin/cli.js"},"dependencies":{"optimist":"0.6.x","swig":"1.2.x"},"devDependencies":{"vows":"latest"},"author":{"name":"Félix Delval","email":"felix.delval@gmail.com","url":"http://blog.delval.eu"},"licence":"MIT/X11","engines":{"node":">=0.8"},"contributors":[{"name":"Félix Delval","email":"felix.delval@gmail.com"},{"name":"Christophe Eymard","email":"christophe.eymard@gmail.com"}],"readme":"# sng\n\nA lightweight launcher for a PHP/Nginx development server\n\n## Why?\n\nTo give the possibility to a user without admin privileges to easily launch a PHP development server.\n\n## Requirements?\n\n * PHP in CGI mode: php-cgi -v must returns php-fcgi in output\n * Nginx server\n \nOn Ubuntu systems:\n\n    sudo apt-get install nginx-full php5-cgi\n\nOn archlinux:\n\t\n\tpacman nginx php-cgi\n\n## Install\n\nTo install sng locally : \n\n    npm install sng\n    \nTo install globally in system use:\n\n    npm install sng -g\n\n## Usage\n    Options:\n      -n, --nginx-base        Default binding NGinx wil be listening on            [default: \"127.0.0.1:8000\"]\n      -p, --php-bind          Default binding address for php-cgi                  [default: \"127.0.0.1:9000\"]\n      -b, --behavior          Changes behavior. Avialable are: \"standard\", \"zend\"  [default: \"standard\"]\n      -x, --extra-directives  Extra directives file for the NGinx server \n\n## Configuration files\n\nYou can directly store the configuration file in the root folder of the server. sng will look for .sng.conf.tpl files in the root folder. A very basic configuration file would look like that : \n\n\tlocation / {\n\t    if ($uri ~ \"\\.php\") {\n\t        fastcgi_pass {{ php_bind }};\n\t    }\n\t    access_log  {{ tmpdir }}/access.log mine;\n\t}\n\nWarning : The {{ php_bind }} represents the ip and port on which php-cgi is running, for exemple 127.0.0.1:80 is the default binding.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/fe-lix-/node-sng/issues"},"_id":"sng@0.2.1","dist":{"shasum":"a43838d1c5193f0c9f68c7ef5941d853d0943446","tarball":"https://registry.npmjs.org/sng/-/sng-0.2.1.tgz","integrity":"sha512-VtVt0+D2UtpWp5vHdEKMAx5KoHOdv5GSryypJFprzzRAGGP/eI91xaKNctFNJjzSD6kkFf3fIGDVleLm4D/DXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIForOU7OptnugIlB/4aYhkb6vQdKc0dnALLfesYM4zsKAiAtXdMV2yImGf+umndMVBo+4djmqw4ZGZdv3s/Mio+0yw=="}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"fe_lix_","email":"felixdelval@gmail.com"},"maintainers":[{"name":"fe_lix_","email":"felix.delval@gmail.com"}]}},"maintainers":[{"name":"fe_lix_","email":"felix.delval@gmail.com"}],"time":{"modified":"2022-06-26T21:42:07.070Z","created":"2011-07-01T10:47:59.410Z","0.0.1":"2011-07-01T10:48:00.420Z","0.0.2":"2011-07-01T10:52:32.483Z","0.0.3":"2011-07-01T11:01:35.332Z","0.0.4":"2011-07-01T11:12:43.900Z","0.0.5":"2011-08-04T09:13:06.927Z","0.0.6":"2011-08-04T16:06:53.461Z","0.0.7":"2011-08-10T14:45:30.498Z","0.0.8":"2011-08-18T14:14:35.143Z","0.0.9":"2012-01-06T10:37:14.992Z","0.0.10":"2012-02-02T16:27:23.926Z","0.1.0":"2012-02-02T17:58:03.792Z","0.2.0":"2013-12-17T22:41:59.235Z","0.2.1":"2013-12-18T10:01:50.655Z"},"author":{"name":"Félix Delval","email":"felix.delval@gmail.com","url":"http://blog.delval.eu"},"repository":{"type":"git","url":"https://github.com/fe-lix-/node-sng"},"users":{"strathausen":true}}