Example
nano /usr/local/lib/php.ini
allow_url_fopen --> Off
register_globals --> Off
enable_dl --> Off
display_errors --> Off
display_startup_errors --> Off
safe_mode --> Off
log_errors --> On
expose_php --> Off
magic_quotes_gpc --> On
magic_quotes_sybase --> Off
nano /etc/nano.cnf
[mysqld]
socket = /var/lib/mysql/mysql.sock
safe-show-database
old-password=1
max_connections=151
interactive_timeout=50
wait_timeout=10
connect_timeout=10
thread_cache_size=0
key_buffer=7M
join_buffer=1M
max_allowed_packet=16M
table_cache=1024
sort_buffer=2M
record_buffer=2M
thread_cache_size=128
max_user_connections=30
read_rnd_buffer_size=256k
low_priority_updates=1
concurrent_insert=2
thread_concurrency=4
myisam_sort_buffer_size=141M
query_cache_limit=2M
query_cache_size=2M
query_cache_type=1
old-passwords = 1
I do not know how to configuration