码迷,mamicode.com
首页 > Web开发 > 详细

php7编译

时间:2016-05-25 14:48:05      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:

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

php7编译

标签:

原文地址:http://www.cnblogs.com/flyyu21/p/5526728.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!