Quick Install PHP php-fpm nignx

Source: Internet
Author: User
Tags install php imap

Previously installed PHP and PHP-FPM is a painful thing, after compiling a few hours, now recommended Yum to install, more convenient.


System CentOS 6  

RPM-UVH http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

RPM-UVH http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm

RPM-UVH http://repo.webtatic.com/yum/el6/latest.rpm



Install MySQL

Yum--enablerepo=remi install MySQL Mysql-server


Install PHP php-fpm Nginx

Yum install nginx php54w php54w-cli php54w-common php54w-devel php54w-fpm php54w-gd php54w-imap php54w-mbstring PHP54W-MC Rypt php54w-mysql php54w-pdo php54w-process php54w-xml php54w-xmlrpc-y

If the installation fails, it is recommended that you uninstall the previous PHP before installing, using yum remove PHP php-*

  
Service PHP-FPM Start 
Service Nginx Start 
chkconfig Nginx on 
chkconfig php-fpm on 
 
configuration file in/etc/php.ini 
configuration file in/etc/nginx/nginx.conf 


List of included PHP extensions:

Package provides

php54w mod_php

Php54w-bcmath

Php54w-cli php-cgi, Php-pcntl, Php-readline


Php54w-common Php-api, php-bz2, Php-calendar, Php-ctype, Php-curl, Php-date, Php-exif, Php-fileinfo, Php-ftp, Php-gettex T, Php-gmp, Php-hash, Php-iconv, Php-json, ph

P-libxml, Php-openssl, Php-pcre, Php-pecl-fileinfo, Php-pecl-phar, Php-pecl-zip, Php-reflection, Php-session, Php-shmop, Php-simplexml, Php-sockets, PHP-SPL, Php-token

Izer, Php-zend-abi, Php-zip, Php-zlib


Php54w-dba

Php54w-devel

php54w-embedded Php-embedded-devel

Php54w-enchant

php54w-fpm

Php54w-gd

Php54w-imap

Php54w-interbase Php_database, Php-firebird

Php54w-intl

Php54w-ldap

Php54w-mbstring

Php54w-mcrypt

Php54w-mssql

Php54w-mysql Php-mysqli, Php_database

Php54w-odbc Php-pdo_odbc, Php_database

Php54w-pdo

Php54w-pgsql Php-pdo_pgsql, Php_database

Php54w-process Php-posix, Php-sysvmsg, Php-sysvsem, PHP-SYSVSHM

Php54w-pspell

Php54w-recode

Php54w-snmp

Php54w-soap

Php54w-tidy

Php54w-xml php-dom, Php-domxml, PHP-WDDX, php-xsl

Php54w-xmlrpc

Php54w-zts


This article is from the "Wind" blog, make sure to keep this source http://chenwenming.blog.51cto.com/327092/1600616

Quick Install PHP php-fpm nignx

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.