Install php7.0.0.6 + YAF 3 + php-fpm

Source: Internet
Author: User
Tags fpm install openssl pear php cli zts

; Linux versionLinux zy-pc 4.4.0-22-generic #40-ubuntu SMP Thu may 22:03:15 UTC i686 i686 i686 gnu/linux


PHP Source GitHub
Https://github.com/php/php-src
wget--http://blog.chinaunix.net/uid-25324849-id-3198560.html wget-c--no-check-certificate-o Php7-src-master.zip Https://codeload.github.com/php/php-src/zip/master

; installation Dependent
sudo apt-get install Libxml2-dev
sudo apt-get install OpenSSL
sudo apt-get install Libssl-dev
Apt-get Install Curl
Apt-get Install Libcurl4-gnutls-dev
sudo apt-get install Libjpeg-dev
sudo apt-get install Libpng-dev
sudo apt-get install Libmcrypt-dev
sudo apt-get install Libreadline6 Libreadline6-dev
cd/usr/local/php
./configure--enable-fpm--enable-debug--enable-opcache--with-mysqli--with-pdo-mysql//configuration
MAKE-J4//Compile make install//install

/**
Php-v
Php-m
CP Php.ini-development/usr/local/lib/php.ini


Installing YAF
Cd/usr/local/php/ext/yaf
wget http://pecl.php.net/get/yaf-3.0.2.tgz

Phpize//Generate Configure
./configure
Makemake install or CP./modules/yaf.so/usr/local/lib/php/extensions/no-debug-non-zts-20151012/yaf. So

Vi/usr/local/lib/php.ini
Extension=yaf.so

//
Php-m
See YAF

//PHP-FPM

Php-fpm.conf.default php-fpm.conf

Cp/usr/local/etc/php-fpm.d/www.conf.default/usr/local/etc/php-fpm.d/www.conf

./php-fpm

NETSTAT-ANP|GREP 9000


TCP 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 23543/php-fpm.conf)

//vi/etc/profile Path= $PATH:/usr/local/binexport PATH





















/*********************************************/


Installing Shared extensions:/usr/local/lib/php/extensions/no-debug-non-zts-20151012/
Installing PHP CLI binary:/usr/local/bin/
Installing PHP CLI man page:/usr/local/php/man/man1/
Installing phpdbg binary:/usr/local/bin/
Installing phpdbg man page:/usr/local/php/man/man1/
Installing PHP CGI binary:/usr/local/bin/
Installing PHP CGI man page:/usr/local/php/man/man1/
Installing Build Environment:/usr/local/lib/php/build/
Installing header files:/usr/local/include/php/
Installing helper Programs:/usr/local/bin/
Program:phpize
Program:php-config
Installing man pages:/usr/local/php/man/man1/
Page:phpize.1
Page:php-config.1
Installing PEAR Environment:/usr/local/lib/php/
[PEAR] archive_tar-installed:1.4.0
[PEAR] console_getopt-installed:1.4.1
[PEAR] structures_graph-installed:1.1.1
[PEAR] xml_util-installed:1.3.0
[PEAR] pear-installed:1.10.1
Wrote PEAR system config file at:/usr/local/etc/pear.conf
Want to add:/usr/local/lib/php to your php.ini include_path
/usr/local/php/build/shtool install-c Ext/phar/phar.phar/usr/local/bin
Ln-s-F Phar.phar/usr/local/bin/phar
Installing PDO headers:/usr/local/include/php/ext/pdo/

/^^^^

Installing Shared extensions:/usr/local/lib/php/extensions/debug-non-zts-20151012/
Installing PHP CLI binary:/usr/local/bin/
Installing PHP CLI man page:/usr/local/php/man/man1/
Installing PHP FPM binary:/usr/local/sbin/
Installing PHP FPM config:/usr/local/etc/
Installing PHP FPM man page:/usr/local/php/man/man8/
Installing PHP FPM Status page:/usr/local/php/php/fpm/
Installing phpdbg binary:/usr/local/bin/
Installing phpdbg man page:/usr/local/php/man/man1/
Installing PHP CGI binary:/usr/local/bin/
Installing PHP CGI man page:/usr/local/php/man/man1/
Installing Build Environment:/usr/local/lib/php/build/
Installing header files:/usr/local/include/php/
Installing helper Programs:/usr/local/bin/
Program:phpize
Program:php-config
Installing man pages:/usr/local/php/man/man1/
Page:phpize.1
Page:php-config.1
Installing PEAR Environment:/usr/local/lib/php/
[PEAR] Archive_tar-already installed:1.4.0
[PEAR] Console_getopt-already installed:1.4.1
[PEAR] Structures_graph-already installed:1.1.1
[PEAR] Xml_util-already installed:1.3.0
[PEAR] Pear-already installed:1.10.1
Wrote PEAR system config file at:/usr/local/etc/pear.conf
Want to add:/usr/local/lib/php to your php.ini include_path
/usr/local/php/build/shtool install-c Ext/phar/phar.phar/usr/local/bin
Ln-s-F Phar.phar/usr/local/bin/phar
Installing PDO headers:/usr/local/include/php/ext/pdo/







Install php7.0.0.6 + YAF 3 + php-fpm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.