Debian :: Setting Date Timezone

May 5, 2015

I'm trying to install Symfony to Debian 7 amd64 LAMP Server and I have some lil problems

When I run php my_project_name/app/check.php

It says:
[ERROR]
Your system is not ready to run Symfony2 projects
Fix the following mandatory requirements

* date.timezone setting must be set
> Set the "date.timezone" setting in php.ini* (like Europe/Paris).

I already tried to edit php.ini with command :
sudo nano /etc/php5/apache2/php.ini

I deleted ; and so under [Date] section is now following sentence: date.timezone = Europe/Helsinki
after that restarted apache /etc/init.d/apache2 restart

View 1 Replies


ADVERTISEMENT

Slackware :: 13.37 - Need To Define Date / Timezone In PHP

May 18, 2011

I need to define date.timezone in PHP for an application and I can't seem to figure out how to get Apache (or whatever) to use changes in /etc/httpd/php.ini. For example, I need to set the value of date.timezone to America/Detroit and the latitude and longitude values. I'm assuming that simply stopping and restarting HTTPD ought to make that happen (it doesn't) or rebooting the system should (nope). I must have missed something somewhere.

View 3 Replies View Related

OpenSUSE :: When I Set The Timezone To Europe/UK The Date/time Are Correct UNTIL Reboot The Laptop?

Feb 25, 2010

I just installed OpenSuse 11.2 3 months ago on my laptop. I'm running with the Gnome Desktop. I live in Chicago and am currently in London. When I set the timezone to Europe/UK the date/time are correct UNTIL I reboot the laptop. After reboot if I type in the 'date' command it shows the time at 6+ hours from London time. When I check the hardware clock 'hwclock' it displays the correct London time. I check the time setup with yast and it shows the correct Timezone but again shows the 6+ hours difference. I change the time in yast and and my applications ( e-mail) display the correct local time again... UNTIL I reboot and then I'm right back where I started - wrong local time ! I suppose I could write a little startup script to do a 'hwclock --hctosys' but I thought I'd check here first to see if anyone out there had any ideas..BTW - I hate to say this but on the same laptop running XP I don't have this problem AND I didn't see this problem in OpenSuse 10.3 or 11.1

View 9 Replies View Related

Slackware :: Setting Timezone On A Per User Basis For Xorg?

May 23, 2011

Slackware: 13.0

After having some problems with iptables not picking up automatically (without restart) the transition from winter time to summer time, and on advice from the iptables/netfilter mailing list, I've decided recently to go down the Unix way and set my hardware clock time to UTC/GMT instead of local time. I am, however, having some difficulty reconfiguring my entire machine to cope with this change.

1. I've used /usr/sbin/timeconfig - which took care of system wide timezone. After that, if I opened a terminal, du "su root" - and then check the date - it looks good. Doesn't affect though the logged in (non-root) user. Running "date" in bash window for logged (non-root) user returns wrong time (UTC) instead of local time.
2. I've added an export statement in ~/.bashrc, to set the timezone for the user account I use. That fixes the time for the logged in user, but only in the terminal. The time in fluxbox/X is still the UTC time.

Where is XOrg taking it's timezone for the logged in user? Do I amend/add to XOrg.conf? At the moment there is nothing about time zone in Xorg.conf (only contains few tweaked settings I've added to it - as I believe most of the rest is autoconfigured). I've searched - but couldn't find how Slackware configures timezones for individual users - aside from the timeconfig utility used during setup.

View 6 Replies View Related

General :: Setting Time And Date / Setting Calendar Format?

May 14, 2010

Have installed Suse 11.2. how can I change the calendar format dd/mm/yyyy and how to configure the system to sync.from an ntp?

View 1 Replies View Related

Debian :: PHP Info Command - Fluctuating Default Timezone

Feb 24, 2010

I have an issue when running the phpinfo() command on a webpage. Occasionally the Default timezone setting shows 'utc', at others it show 'Europe/Berlin'. To prove I'm not going mad I screen captured a short video of the display changing while all I was doing was pressing F5.

The system is set to a European timezone i.e. both date and hwclock commands show 'CET'. There was an update to the Debian tzdata package which I installed at the beginning of February 2010. I'm not aware of there being a problem before that but I could be wrong about that.

View 3 Replies View Related

General :: Task Manager - Setting Time / Date Do Not Work?

Feb 19, 2010

I tried googling but couldnt find the task manager equivalent? Just want to find out how much memory LINUX uses in general as I have been using it for few days and everything seems faster than on vista with no programs freezing! Also on my taskbar, when I click on the time to change it, it doesn't work? I think the timezone is set to US or something but how do i change the timezone?

View 2 Replies View Related

OpenSUSE :: Yast Date And Time Setting - Cannot Save Configurations

Mar 23, 2011

I am here to ask for some assistance on YAST. When trying to change the date and time through YAST, and clicking on accept, I get an error message saying "cannot save configuration". This is on openSUSE 11.3 x86_64.

View 9 Replies View Related

Ubuntu Multimedia :: Replace Jpg Files Last Modification Date With Timestamp Creation Date?

Sep 22, 2010

I'm looking for a method for modifying some jpg photo files last modification date with the corresponding timestamp creation date of each file.The reason is that shotwell import pictures in folders according to last modification date which is stupid on my opinion.

View 2 Replies View Related

Ubuntu :: Organize Folder With Images By Date Taken Rather Than Date Edited?

Aug 1, 2011

As a photographer I'm constantly taking photos and storing them in folders. Now occasionally I'm using two cameras (either for different settings or an assistant is also taking photos) which means that for one event I can have differently named images.Both cameras have the same time set (which always helps in Windows) but in Ubuntu when trying to sort my folder by date taken I can't.The options I'm given are to sort them: Manually, by Name, by Size, by Type, by Modification date and by Emblem.Now none of those are helpful to me once I've done a few edits to the images.So please if anyone knows, how do you organise a folder with images taken on different cameras by Date Taken rather than Date Edited?

View 3 Replies View Related

General :: Use Date With Touch To Create New File With Date Based Name?

Mar 12, 2010

I am using CRON to create a new, blank file, every minute, in a specific location on my web server. After web searching, and reading man pages, I get the impression that the following command is supposed to work:touch /home/mydomain/var/folder/attachments/`date +%H%M`.txtThis should give me a new file with a file name that is the current hour and minute.However, when executed, the CRON mailer reports:touch /home/mydomain/var/folder/attachments/`date +/bin/sh: -c: line 0: unexpected EOF while looking for matching /bin/sh: -c: line 1: syntax error: unexpected end of fileSo, it looks like shell is seeing the plus (+) sign as an EOFObviously, nothing get created.What would be the easiest, single line command to create an empty file, at a given location, with a time based file name

View 5 Replies View Related

General :: Julian Date Converter To Gregorian Date

Apr 22, 2010

Anyone have a ksh solution to convert julian date to gregorian date?

View 6 Replies View Related

Debian Multimedia :: How Does Iceweasel Keep Itself Up To Date

Jan 4, 2015

I have been a casual Debian Wheezy user for quite some time now. And one of the things that alarms me is that how does Iceweasel keep itself up to date on the latest secuirty patches ? I also use Windows on my desktop and it is dual booted with Linux. In Windows I use Nightly build of FireFox. They update themselves almost everyday. Normal Firefox also seems to update pretty often. But Iceweasel only updates if I do an aptitude full-upgrade

And that is also once a month. So how is Iceweasel expected to be secure if there is such a long delay in the patches ? Iceweasel also does'nt have a "Check for updates" options like Firefox.

Won't we be better off using the normal Firefox on Debian distributions ? IMO that gives faster patches for security issues.

Also does Iceweasel use Flash Player or gnash ? Because running dpkg gives me the following output-:

Code: Select allsreyan@debian:/usr/share/dict$ dpkg -s gnash
dpkg-query: package 'gnash' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.

Flash Player also has individual updates in Windows which is maybe once every 2 weeks. I also don't see that in Debian. Flash players need to be kept up to date since they are responsible for most security breaches.

I had started a thread some time ago where a user commented that Iceweasel was out of date and needed to be replaced by Firefox. [URL] .....

So why is the Debian community still sticking to Iceweasel ? Why not switch to Firefox like Ubuntu ?

View 8 Replies View Related

Debian :: How To Change DATE / TIME Format

Jul 23, 2011

I set my location, but Debian displays DATE in some messed format. I would expect such neat OS to recognize all those local settings based on my location, but that's not the case. It seems that Debian follows locale settings by set language (which is en_us in my case, as I guess in majority uses) or this format is default in any case

I would like to set date/time to DD.MM.YY. hh:mm:ss, and programs that display date data to follow this setting. Simply put, in Windows there is Control Panel and you set location, then OS uses some regional settings, like currency, separators, date/time format.

View 7 Replies View Related

Debian :: Forensics - Date And Time The USB Drive Was Removed?

Jun 17, 2011

Is there anything that could betray the time the USB memory drive was last removed ? I can't find it and the time would help me pinpoint what happened to it.fstab file last access time or something like that ?

View 4 Replies View Related

Debian Configuration :: All Of Packages Are Out Of Date - Update Not Working?

Jun 30, 2010

So I just installed Debian Lenny on my PC (the install went fine). After installing, I went into aptitude and noticed that most of the packages available in the repository are out of date (python 2.5, GCC 4.3). System Update tells me that I am up to date, and when I tell synaptic/aptitude to mark all updatable packages, it does nothing. I have tried typing apt-get update as root aswell. Nothing worked.

I installed Debian with the first DVD from [URL]. During the installation, I told it to download anything that wasn't on the DVD. Shortly after installing, I had manually edited my /etc/apt/sources.list and commented out the CD line. Could any of this have messed up APT?

View 5 Replies View Related

Debian Multimedia :: Change Date Format Across Whole System?

Jan 13, 2015

I'm having an US American date format that drives me totally nuts, like MM/DD/YY. Today is 1/13/15. It seems to appear across the system (GNOME 3), from Skype to IceDove to Nautilus. So my hope is there is a central instance where I can change this. I would prefer to have 13-Jan-15 or 13-Jan-2015 or at the very least 13/01/2015, i.e. in some order consistent with my European brain.

View 7 Replies View Related

Debian Programming :: Yesterday Date In Bash Script

Jun 22, 2011

I have used "FILENAME="`TZ=$TZ+24 date +%y%m%d`" in a bash script that run in openbsd. What my script does is to changes a file name to "yesterdays date". I tried to use it in a script that runs in debian but it doesnt work. Is there any other command that i can use in debian?

View 3 Replies View Related

General :: How To Set Debian To Automatically Update Time And Date

Aug 14, 2011

I have an old computer and BIOS counts the time slower than real. So, how can I set myOS to update the time automatically using the internet? If it updated the time only during booting, it would be enough.

View 2 Replies View Related

Fedora :: Change Timezone From BST To UTC?

Sep 16, 2009

How do i change the timezone from BST to UTC ( through the terminal only )

SERVER ~ # cat /etc/sysconfig/clock
ZONE="Europe/London"
UTC=true
ARC=false

However a date shows :

Wed Sep 16 11:07:15 BST 2009

View 3 Replies View Related

General :: How To Set Timezone In Fedora 12

Aug 19, 2010

In the panel at the top of the screen it shows the time of day - perhaps at the international date line. Is there a setting somewhere that allows me to inform the system of my time zone? Tried "info timezone" - drew a blank. Don't know where to look.

View 1 Replies View Related

Debian :: Deleting Data Before Specific Date In SQLite Database

Jun 22, 2015

This is a continuation of the post in [URL].... . What has happened is that I have a huge log of 600 MB + and do not know from when the data is in there.

Code: Select all┌─[shirish@debian] - [~/.config/quassel-irc.org] - [9714]
└─[$] ll -h quassel-storage.sqlite                                                                                                   
-rw------- 1 shirish shirish 647M Jun 22 21:15 quassel-storage.sqlite

So I need to know if there is a way to get just the first five or ten entries listed as one can do using head, tail etc. I did try just using head but it was unsuccessful. The second thing would be deleting some days, weeks or months data from the existing sqlite log. I did see URL... but in my case I am deleting old entries in the sqlite log and also do not know if sqlite makes backups of the data or not ?

View 4 Replies View Related

Debian Multimedia :: Up-to-date Binaries Of Mplayer, Mencoder And Ffmpeg

Mar 18, 2010

I'm wondering if anyone distributes mplayer, mencoder, and ffmpeg, up-to-date builds of each and their associated dependencies (x264, faac, xvid, etc).I had to compile all that stuff myself and fought with it, and finally got it working.

If no one distributes latest builds, then I was thinking of going further with what I've done to help others: virtualbox lenny and automated compiles of all packages and putting up the builds, with latest revisions of mplayer and ffmpeg from their source code repos. Using LD_LIBRARY_PATH to isolate the build so any modern linux can run the produced binaries, with only glibc as a dependency.

View 3 Replies View Related

General :: Use To Set The Timezone Of The Entire System Using C?

Aug 4, 2010

Is there any function I can use to set the timezone of the entire system in linux using C? (Other than creating a symbolic link between /etc/localtime and /usr/share/zoneinfo/). Could I specify the timezone offset in seconds by any chance?

View 2 Replies View Related

Ubuntu :: How To Change The Timezone Permanently

Jan 3, 2010

So, here's my problem. Every time I'm trying to change my timezone, it last until I'm restarting my comp again, it seems like it doesn't save the changes permanently.I'm using Ubuntu v9.10 installed through Wubi. My timezone is set currently via BIOS.

View 8 Replies View Related

General :: How To Make Own Custom Timezone

Feb 17, 2010

I don't really like Los Angeles (they steal all our water) and neither Tijuana nor Vancouver make sense to me, so I am trying to make my own, custom timezone of Felton, California. How do I do this? I changed my /etc/timezone to "America/Felton" but upon reboot my calendar still says "Los Angeles". Which files do I need to change?

View 8 Replies View Related

General :: Set Timezone For Nagios In Ubuntu 9.10

Aug 5, 2010

so as the title says.

i saw this in nagios.cfg:

Code:
# TIMEZONE OFFSET
# This option is used to override the default timezone that this
# instance of Nagios runs in. If not specified, Nagios will use
# the system configured timezone.

[Code]....

View 7 Replies View Related

Server :: How To Get Info About Current Timezone

Jan 13, 2010

I was wondering if there is a way of knowing what is the current set timezone for a linux server. I know that "date +%Z" gives the 3 letter abbreviation of the timezone, but then CST can be interpreted as Central Standard Time (US) and as China Standard Time. I'm looking for a way I could tell what is the real timezone, e.g. "Asia/Jerusalem", "Europe/London", etc. I know that I can set the timezone by symlinking /usr/share/zoneinfo/<Timezone Name> to /etc/localtime, but when I freshly install CentOS and choose my timezone, /etc/localtime isn't a symlink at all so I can't use this info...

View 3 Replies View Related

CentOS 5 :: Timezone Change Not Working?

Oct 6, 2010

I was needing to change the timezone on a CentOS 5.1 (but upgraded to 5.3) machine that doesn't have X installed nor did it (initially) have the system-config-date package installed. After some Googling it appeared that all I needed to do was copy over the desirec zoneinfo file to /etc/localtime and edit the /etc/sysconfig/clock file to zone that I choose. I then set the time and used that to set the hardware clockhe original timezone was "America/New_York" (EDT) and was wanting to change it to "US/Central" (CDT). After making the changes, when I do a "date" command it is still reporting the time in EDT. I then installed the system-config-date package and tried using /usr/sbin/timeconfig. I still get the result that the timezone is reported in EDT. The time is technically correct but is an hour ahead since its using EDT to report the time.

View 10 Replies View Related

Debian Multimedia :: Shotwell - Fail To Import Video With Correct Date

Jan 26, 2015

I'm on Debian Wheezy using Shotwell 0.12.3. I have a bunch of .MOV videos that I want to import to Shotwell. I choose import from folder and select copy pictures. The import proceeds and shotwell tells med the .MOV (and some .jpg:s) are imported. The pictures are imported with no problem and placed in an event 2014-10-19 as expected. But videos are placed in an event dated 2004-01-01 and not in 2014-10-19 where they belong. Obviously, Shotwell does not use the files last edit date. I though maybe there was some bad dates in the metadata and opened the files in both Totem and VLC player but concluded there is no such metadata available (as far as I can tell).So how does Shotwell determine the date for .MOV files? Where does 2004-01-01 come from? Seems random.

Then, I tried dragging all movies in Shotwell to the event where it really belongs. That is, where the recently imported photos got placed 2014-10-19. But instead of the videos beeing moved into that correct event, now all photos appears in the 2004-01-01 event.Undo that last step and close Shotwell. Then, instead I manually (in nautilus) copy the .mov files to the 2014-10-19 folder where the picures resides. Open Shotwell again which detects something happened and starts import the videos again. Unfortunatley they still show up in the 2004-01-01 event

Another wierd thing is if I manually (in nautilus) move the Shotwell 2004-01-01 folder away from the Pictures folder (out of reach for Shotwell). Then when I re-open Shotwell the event does not appear anymore - as expected. But If I try to once again import the videos, Shotwell tells me all videos are duplicates and does not import them!?! In other words, manually removing a folder from Shotwell mess up the database. And that database is obviously not used to populate the events tree in the gui.How do I get my video to appear in the correct event? Alternatively; is there a photo/video library in Debian that actually works?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved