Both are used to store user specific information that is used to personalize or customize the visitor experience to a website. This includes storing such info as username, password, real name of the user, and preferences. Continue reading
Author Archives: admin
Installing Pear Packages
Pear is a very versatile and hugely useful library of functions for the PHP programming language.
Pear is installed by default as of PHP version 4.3.0.
To install a new Pear library, you need to open shell and log in as the root user. Then type ‘pear install xxxxxx’ (where xxxxxx is the name of the library)
Limiting Connections to MySQL
Ever had the server become inactive because of too many connections at the same time? The solution is to limit the number of connections to MySQL database.
The file you should make these adjustments to is the /etc/my.cnf you can change the following line and set a limit.
set-variable = max_connections=150
set-variable = max_user_connections=1
This will cap off connections at 150 total, and prevent any one MySQL user ID from opening more than 1 connections.