How to troubleshoot PHP startup errors

Source: Internet
Author: User
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
  • Related Article

    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.