In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The CAPTCHA cannot be displayed.
Rpm-Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
Yum install libmcrypt libmcrypt-devel mcrypt mhash-y
Yum install php70w php70w-bcmath php70w-cli php70w-common php70w-dba php70w-devel php70w-embedded php70w-enchant php70w-fpm php70w-gd php70w-imap php70w-interbase php70w-intl php70w-ldap php70w-mbstring php70w-mcrypt php70w-mysql php70w-mysqlnd php70w-odbc php70w-opcache php70w-pdo php70w-pdo_dblib php70w-pear php70w-pecl-apcu php70w-pecl-imagick php70w-pecl-xdebug php70w-pgsql php70w-phpdbg php70w-process php70w-pspell php70w-recode php70w-snmp php70w-soap php70w-tidy php70w-xml php70w-xmlrpc php70w-pecl-redis.x86_64-skip-broken-y
# add redis dependency if you have redis, and then restart php-fpm
/ etc/init.d/php-fpm restart
Vim / etc/php-fpm.d/www.conf
User = nginx
Group = nginx
Php_ value [session. Save _ handler] = files
Php_ value [session. Save _ path] = / var/lib/php/session
Php_ value [soap.WSDL _ cache_dir] = / var/lib/php/wsdlcache
Permissions to write to the session directory
Chmod 755-R / var/lib/php
If you want to write session to redis, you need to install php's redis expansion pack
Yum search php70w-pecl-redis.x86_64 # session of php cannot be saved to redis if the installation version is different
Vim / etc/php-fpm.d/www.conf
User = nginx
Group = nginx
Php_ value [session. Save _ handler] = Redis
Php_ value [session. Save _ path] = 'tcp://192.168.1.2:6688'
Php_ value [soap.WSDL _ cache_dir] = / var/lib/php/wsdlcache
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.