Category Archive: System Administration

Feb 20

Changing TimeZone in Linux System

  In a linux system timezones are defined under the directory “/usr/share/zoneinfo/”. [email protected]:~# cd /usr/share/zoneinfo/ [email protected]:/usr/share/zoneinfo# ls Africa Asia Canada Cuba EST Factory GMT0 Hongkong Iran Japan localtime MST7MDT Pacific posixrules ROC Turkey UTC America Atlantic CET EET EST5EDT GB GMT-0 HST Kwajalein MET Navajo Poland PRC ROK UCT WET Zulu Antarctica Australia …

Continue reading »

Jan 04

Searching a file in linux

To search a file, we can use one of the following utility : which locate find     Using “which” command : We can use “which” command to find and get absolute path of files that are present in directories listed in PATH variable. We generally use “which” command to get absolute path of commands …

Continue reading »

Warning: require_once(): open_basedir restriction in effect. File(/home/admin/web/ is not within the allowed path(s): (/home/admin/web/ in /home/admin/web/ on line 20

Warning: require_once(/home/admin/web/ failed to open stream: Operation not permitted in /home/admin/web/ on line 20

Fatal error: require_once(): Failed opening required '/home/admin/web/' (include_path='.:/usr/share/pear:/usr/share/php') in /home/admin/web/ on line 20