Build WEB + NFS + DNS in CentOS
This experiment uses two web, a php and mysql web1, 2 (172.16.31.30, 31.31) nfs 172.16.31.34
Php 172.16.31.32 mysql 172.16.31.32
Build
1. Set up web
First # mount-t nfs 172.16.31.34:/mydata mount nfs
The web
In normal times, LNMP is installed on the same machine. I think this is not a challenge for everyone. Next we will remove them to different machines, to allow servers to directly share the original pressure, you can also add nodes to achieve load
Copy codeThe Code is as follows:[Root @ abc lnmp] # service php-fpm startStarting php-fpm eAccelerator: cocould not allocate 67108864 bytes, the maximum size the kernel allows is 33554432 bytes. lower the amount of memory request or increase the
Php startup ErrorCopy codeThe Code is as follows:[Root @ abc lnmp] # service php-fpm startStarting php-fpm eAccelerator: cocould not allocate 67108864 bytes, the maximum size the kernel allows is 33554432 bytes. lower the amount of memory request or
One: Compile PHP and integrate with Nginx "Yum installation Method"Yum Build LNMP Environment (CentOS6.4)1. Turn off the firewall[Email protected] ~]# chkconfig iptables off2. Turn off SELinuxVi/etc/sysconfig/selinuxModify selinux=enforcing to
Recently, one of the company's main website revision finished finally on the line, involving me for half a year, and now finally have time to sit down to write something, summed up their technical experience. This time, according to the number and
Deploy the NginxandPHP5 server on the CetnOS6 (64-bit) operating system. In this process, run the yum command to install the RPM package. Refer to the official PHP documentation. Run the following command to install the necessary YUM Database root
This article mainly introduces the solution to the failure of mail sending using the mail function in php. It involves the configuration skills for the components related to the Linux operating platform and has some reference value. For more
# ifconfig
--After viewing the IP address of the virtual machine below, the following actions are connected on the local software
--Upload all the compressed package files I have given to the/root directory
# yum-y Update
# init 6
--Restart
# yum-y
Php startup reports an error. many of my friends may have encountered this problem. The following is a specific solution.
The code is as follows:
[Root @ abc lnmp] # service php-fpm startStarting php-fpm eAccelerator: cocould not allocate 67108864
Php uses $ _ POST or $ _ SESSION [] to pass the parameter _ post_session to the js function. Php uses $ _ POST or $ _ SESSION [] to pass parameters to js functions, _ post_session you can use $ _ POST or $ _ SESSION [] to transmit parameters to js
Encounter a very painful thing, centos7.2,yum installation of the LNMP environment.
Nginx is compiled and installed and placed in the/usr/local/nginx directory.
Current problems encountered:
1, through the service Nginx start and service php-fpm
The lnmp environment installed by centOS7.2 and yum is a tough task. Nginx is compiled and installed in the usrlocalnginx directory. Current problems: 1. the service is started normally through servicenginxstart and servicephp-fpmstart, and
Download Apache to remember next openssl httpd-2.2.19-win32-x86-openssl-0.9.8r.msi download PHP remember thread safe, so that it is easy to build HTTP service PHP tutorial -5.2.17-win32-vc6-x86.msi under The surface is reproduced. The installation
1.1-php compilation and installation 1. install MySQL (same as the installation method in LAMP)
2. install php
Wget http://cn2.php.net/distributions/php-5.4.37.tar.bz2
Tar jxf php-5.4.37.tar.bz2
Useradd-s/sbin/nologin php-fpm
Cd php-5.4.37
. /
Win7sp1: set up the PHP environment. PHP cannot connect to mysql. it is strange that the reason cannot be found. my local mysql can be completely connected under cmd to create a database and a data table. everything is normal, but it won't work if
Compile a common PHP extension method ,. Compile the general method of PHP extension, take install swoole extension as an example: Step 1: wgetpecl. php. netgetswoole-1.7.21.tgz (download swoole package file) Step 2: tarzxvfswoole-1.7.21.tgz
LNMP 3 Host separation for deploymentFirst virtual host to deploy Nginx second virtual host for deployment PHP-FPM third virtual host for deployment Mariadb-serverFirst host to deploy Nginx installation: Implement static Web page processing (192.168.
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.