LNMP (linux+nginx+mysql+php) Server environment configuration (ii) PHP installation

Source: Internet
Author: User
PHP to install more things: Please choose the installation according to their needs
Yum install php php-common php-devel php-eaccelerator php-fpm php-gd php-mysql php-pdo php-mbstring php-mcrypt php-xml php -pecl-memcached

First increase WWW user groups and users
Groupadd Wwwuseradd www-g www

PHP-FPM Configuration
Vi/etc/php-fpm.d/www.conf

Reference

user = www
Group = www
Php_flag[display_errors] = On


Test whether the configuration was successful
Php-fpm-t

Start the PHP-FPM service
Service PHP-FPM Start

The above describes the LNMP (linux+nginx+mysql+php) Server environment configuration (ii) PHP installation, including the aspects of the content, I hope to be interested in PHP tutorial friends helpful.

  • 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.