PHP

How to Lift POST Variables Limit in PHP 5.7

Posted on
One of my web pages that contains over 2000 POST variables. After submit, only the first 1000 variables were added (or inserted) into the database. Is there any limitation on number of variables processed? Yes, it is. Here is how I lift the number of limit on POST variables. Raise the value of max_input_vars [root@test […]
Linux

How to Resolve Configure: Error: no acceptable C compiler found in $PATH

Posted on
Python Installation Tried to install python 3.7.1 in Linux and met this error: “configure: error: no acceptable C compiler found in $PATH”. No doubt, this error will also appear in Ubuntu and CentOS. First of all, I downloaded the source from python official site, and then extract it. [root@test python]# curl -O https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tgz   % […]
MySQL

How to Resolve MySQL Too many connections

Posted on
MySQL Too many connections Recently, I saw some blank pages on my website without any error, especially when the web server was very busy. I suspected that somewhere in PHP codes caught the exception and threw nothing. So I decided to display the error on the screen and saw MySQL too many connections error like […]
LAMP

How to Install Newest LAMP on CentOS 7.2 Minimal (3/4) – Install PHP 7.0 Modules

Posted on
Check the available version of PHP from base repository.[root@test ~]# yum info php Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: ftp.ksu.edu.tw * extras: ftp.ksu.edu.tw * updates: ftp.ksu.edu.twAvailable PackagesName        : phpArch        : x86_64Version     : 5.4.16Release     : 36.el7_1Size        : 1.4 MRepo       […]