$ brew install autoconf automake gmp homebrew/versions/bison27 gd freetype t1lib gettext zlib mcrypt
$ git clone --depth=1 https://github.com/php/php-src.git
$ cd php-src
| galaxy:/usr/share/nginx/html# cat /etc/nginx/sites-enabled/default | |
| server { | |
| listen *:80; ## listen for ipv4; this line is default and implied | |
| listen [::]:80 default ipv6only=on; ## listen for ipv6 | |
| root /usr/share/nginx/www; | |
| index index.php index.html index.htm; | |
| # Make site accessible from http://localhost/ | |
| #server_name _; | |
| # location / { | |
| # # First attempt to serve request as file, then |
| var performance = (function () { | |
| var my = {}; | |
| // Wrap a function body in this to return a copy that instruments itself | |
| // If you want this to be useful, you should give your profiled function a name, | |
| // otherwise it will be identified as "", which is less than useful. | |
| my.profile = function (func) { | |
| return function () { | |
| var start = new Date().getTime(), | |
| time, |