php7编译
1994 cd ~/下载
1995 ls
1996 cd php-7.0.5/
1997 ls
1998 history|grep configure
1999 ./configure --prefix=/usr/local/php7 --with-pdo-mysql=mysqlnd
2000 /usr/local/php7/bin/php -m
2001 ls /usr/local/
2002 ./configure --prefix=/usr/local/php7 --with-pdo-mysql=/usr --with-curl --with-gd --with-freetype-dir --with-jpeg-dir --with-png-dir --enable-sockets --enable-fpm --enable-soap --enable-ftp --enable-mbstring --enable-bcmath --enable-opcache --with-zlib --with-openssl
2003 make
2004 sudo make install
2005 /usr/local/php7/bin/php -m
2006 ln -s /usr/local/php7/bin/php /usr/bin/php7
2007 sudo ln -s /usr/local/php7/bin/php /usr/bin/php7
2008 php7 -m
2009 php7 -v
2018 php7 -S 0.0.0.0:8001 -t public public/index.php
cd /usr/local/php7/lib/
ab -c 500 -n 2000 http://localhost:8001/m