Technology

New Server Installation Tweak Mod Conf – Apache, PHP , MySQL

php.ini
#Tells PHP whether the short form (<? ?>)
short_open_tag = On

#Tell the timezone
date.timezone = “Asia/Jakarta”

#config upload file and post
upload_max_filesize = 20M
post_max_size = 20M

#increase the exec time from 30 to 120
max_execution_time = 120

#increase the mem limit from 128M to 256M
memory_limit = 256M

mysql.cnf
#dond bind the address, so network allowed
#bind-address = 127.0.0.1

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s