国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

Home php教程 PHP開(kāi)發(fā) Install php7 alpha on WINDOWS and Linux and install yaf

Install php7 alpha on WINDOWS and Linux and install yaf

Nov 28, 2016 pm 04:30 PM

windows

1. To install php7 alpha on windows, you only need to download it from the official website http://windows.php.net/qa/ and configure it directly. If you don’t know how, you can download PHP Manager and configure it directly. . At this time, you need to test, open the command line window, and then go to your php7 directory, php -m. If the following window pops up

1111
This is because you lack the Visual C++ Redistributable Package for Visual Studio 2015. You can click here to download http: //www.microsoft.com/zh-CN/download/details.aspx?id=46881, just install it.

linux
Linux is installed as before, but you will find that php7 alpha is not the same as the previous dev. The --with-mysql option is missing, which means that this extension is not loaded. In the future, use mysqli and Pdo

Download the installation package from the official https://downloads.php.net/~ab/

wget https://downloads.php.net/~ab/php-7.0.0alpha1.tar.gz
#Unzip
tar zxf php -7.0.0alpha1.tar.gz
#Enter directory
cd php-7.0.0alpha1
#configure
--prefix=/usr/local/php7
--with-config-file-path=/usr/local/php7 /etc
--enable-fpm
--with-fpm-user=www
--with-fpm-group=www
--with-mysqli=/usr/local/mysql/bin/mysql_config
--with- pdo-mysql=/usr/local/mysql/
--with-iconv-dir
--with-freetype-dir
--with-jpeg-dir
--with-png-dir
--with-zlib
--with-libxml-dir
--disable-rpath
--enable-bcmath
--enable-shmop
--enable-sysvsem
--enable-inline-optimization
--with-curl
--enable- mbregex
--enable-mbstring
--with-mcrypt
--enable-ftp
--with-gd
--enable-gd-native-ttf
--with-openssl
--with-mhash
-- enable-pcntl
--enable-sockets
--with-xmlrpc
--enable-zip--enable-soap
--without-pear
--with-gettext
--disable-fileinfo
--enable-maintainer -zts
#Compile and install
make ZEND_EXTRA_LIBS='-liconv' && make install
#Configure
cp sapi/fpm/init.d.php-fpm /etc/rc.d/init.d/php7-fpm
cp php .ini-production /usr/local/php7/etc/php.ini
#Then install YAF under your own configuration php-fpm.conf



#Download
git clone https://github.com/laruence/php -yaf.git
cd php-yaf
#View all branches, then you will see the php7 branch
git branch -a
git checkout -b php7 origin/php7
#Start compilation and installation
/usr/local/php7 /bin/phpize
./configure --with-php-config=/usr/local/php7/bin/php-config
make && make install
#Configure
vim /usr/local/php7/etc/php.ini
#Add the following line
extension = the directory address/yaf.so displayed after the installation is complete
yaf-php7


OK, that’s all.

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)