linux and php: timezone setting

by prettyscripts on 2011-11-08 16:48:00 • Leave a comment »

unix

recently a server was upgraded to fc14 with php v538 and when runnning php based website, i get the following warning: PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting… more »

Tags: apache, php, timezone, unix

fedora: disable default apache page

by prettyscripts on 2011-04-27 10:44:00 • Leave a comment »

unix

by default when fedora / redhat linux is installed, a 'fedora test page' is displayed when apache server is started. or when websites are configured on server, denying ip address via .htaccess, the same default page is displayed. to disable this page,… more »

Tags: apache, default, deny, fedora, htaccess, linux, red hat

basic .htaccess template

by prettyscripts on 2011-02-25 14:18:00 • Leave a comment »

code

.htaccess is a text file containing commands to control an entire website. this is just a basic template / skeleton for my web projects, so that i don't have to go all over places to look for what i want.Options +FollowSymLinksIndexIgnore *Serv… more »

Tags: apache, htaccess

upgraded symfony and failed in sfCoreAutoload

by prettyscripts on 2010-05-28 13:59:12 • Leave a comment »

frameworksymfony

one of the development projects was upgraded from symfony V142 to the latest V144. my convention for the development is to symbolic link the symfony core files under lib/vendor directory. after the upgrade, the browser displayed blank page with the fol… more »

Tags: apache, autoload, symfony

ubuntu server: setup website

by prettyscripts on 2008-03-22 16:14:38 • Leave a comment »

unix

copy files to destined directory. go to /etc/apache2/sites-availabe, edit the ’site’ file. the default is ‘default‘. if creating a new site file, after creating and editing the file, run sudo a2ensite file. to disable the site, run sudo a2dissite fil… more »

Tags: apache, setup, unix