PHP Startup Error Resolution
PHP start times wrong situation, as follows:
Workaround:
[Root@abc lnmp]# vi/etc/sysctl.conf # Kernel sysctl configuration file for Red Hat Linux #-binary values, 0 is DISA Bled, 1 is enabled. See Sysctl (8) and # sysctl.conf (5) for more details. # controls IP Packet Forwarding Net.ipv4.ip_forward = 0 # controls Source Route verification Net.ipv4.conf.default.rp_filt ER = 1 # do not accept source Routing Net.ipv4.conf.default.accept_source_route = 0 # Controls the System Request debuggin G functionality of the kernel KERNEL.SYSRQ = 0 # Controls Whether core dumps would append the PID to the core filename. # Useful for debugging multi-threaded applications. Kernel.core_uses_pid = 1 # Controls The use of TCP syncookies net.ipv4.tcp_syncookies = 1 # Disable NetFilter on bridges. Net.bridge.bridge-nf-call-ip6tables = 0 Net.bridge.bridge-nf-call-iptables = 0 net.bridge.bridge-nf-call-arptables = 0 fs.file-max=65535 Net.ipv4.tcp_max_syn_backlog = 65536 Net.core.netdev_max_backlog = 32768 Net.core.somaxconn = 32768 Net.core.wmem_default = 8388608 Net.core.rmem_default = 8388608 Net.core.rmem_max = 16777216 Net.core.wmem_max = 16777216 net.ipv4.tcp_timestamps = 0 Net . ipv4.tcp_synack_retries = 2 Net.ipv4.tcp_syn_retries = 2 Net.ipv4.tcp_tw_recycle = 1 #net. Ipv4.tcp_tw_len = 1 net.ipv4.tc P_tw_reuse = 1 Net.ipv4.tcp_mem = 94500000 915000000 927000000 net.ipv4.tcp_max_orphans = 3276800 # time_out wait time #net. IPV 4.tcp_fin_timeout = #net. Ipv4.tcp_keepalive_time = Net.ipv4.ip_local_port_range = 1024x768 65535 Kernel.shmmax = 128000 000
Plus the last word. Kernel.shmmax = 128000000
Then apply Sysctl-p