![]() ![]() Because most older versions of NGINX do not support dynamically loadable modules, you will likely need to rebuild NGINX from source. Therefore, we require NGINX to be built with the third party ngx_lua module. Some older versions of NGINX don’t support native loading of Lua modules. Sslcacert=/etc/pki/tls/certs/ca-bundle.crt $ sudo systemctl restart php72-php-fpm.Sudo tee /etc//sigsci.repo <<-'EOF' $ sudo vi /etc/opt/remi/php72/php-fpm.d/www.conf ![]() Find out nginx server user and group names using egrep command $ egrep '^(user|group)' /etc/nginx/nfĮdit vi /etc/opt/remi/php72/php-fpm.d/www.conf: Make sure latest version of Nginx server installed on CentOS 7 or RHEL 7. $ sudo systemctl restart rvice Get status of PHP fpm service $ sudo systemctl stop rvice Restart PHP fpm service $ sudo systemctl start rvice Stop PHP fpm service $ sudo systemctl enable rviceĬreated symlink from /etc/systemd/system//rvice to /usr/lib/systemd/system/rvice.Ĭommands to control PHP fpm: Start PHP fpm service Print or check PHP version by typing the following command: With Zend OPcache v7.2.1, Copyright (c ) 1999- 2017, by Zend Technologies Zend Engine v3.2.0, Copyright (c ) 1998- 2017 Zend Technologies $ sudo yum install php72 php72-php-fpm php72-php-gd php72-php-json php72-php-mbstring php72-php-mysqlnd php72-php-xml php72-php-xmlrpc php72-php-opcache $ sudo yum-config-manager -enable remi-php72 $ sudo subscription-manager repos -enable=rhel-7-server-optional-rpms The steps are as follows to enable and install PHP 7.2 on RHEL 7 using yum command: ![]() ![]() $ sudo yum install php72-php-fpm php72-php-gd php72-php-json php72-php-mbstring php72-php-mysqlnd php72-php-xml php72-php-xmlrpc php72-php-opcache How to install PHP 7.2 on RHEL 7 You must install “PHP FastCGI Process Manager” called php72-php-fpm along with commonly used modules: Php72-php-pecl-mysql-xdevapi.x86_64 : MySQL database access functions Php72-php-pecl-mysql.x86_64 : MySQL database access functions Php72-php-mysqlnd.x86_64 : A module for PHP applications that use MySQL Php72-php-gd.x86_64 : A module for PHP applications for using the gd graphics Php72-php-fpm.x86_64 : PHP FastCGI Process Manager ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |