You are not logged in.
Currently I have my application GLPI hosted on a server located outside Argentina. The problem this creates is that the php.ini file has a different time zone that the user of the system, so the tickets and monitoring are built with the wrong time.
There any way to correct the time zone using GLPI, without resorting to the configuration of PHP or MySQL, or the hour of the server? These settings can not be changed, since there are other users around the world, sharing the server.
Please appreciate the quick response. GLPI I put into production soon.
Many thanks. Eliseo from Buenos Aires, Argentina.
App Info:
Operating Systems : Linux server5.dns-grupohost.com 2.6.18-194.11.3.el5.CVE_2010_3081 #1 SMP Mon Sep 20 09:07:17 EDT 2010
x86_64
PHP 5.2.9 (PDO, Reflection, SPL, SQLite, SimpleXML, Zend Optimizer, apache2handler, bcmath, calendar, ctype, curl, date, dom,
filter, ftp, gd, gettext, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mime_magic, mysql, mysqli, openssl,
pcre, pdo_mysql, pdo_sqlite, posix, session, soap, sockets, standard, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip,
zlib)
Setup: memory_limit="64M" max_execution_time="30" safe_mode="" session.save_handler="files"
Software: Apache ()
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
MySQL: 5.0.91-community (powercon@localhost/powercon_glpi)
Offline
Up here.
I have the same situation like elijust. I want to edit the timezone of glpi, but I cannot touch php.ini file.
Can anybody help us?
GLPI info:
GLPI: 0.78.5
OS: linux
php 5.2.6-1
mysql 5.0.51a-24
GLPI 0.8 on PHP 5.2.6-1+lenny6, apache 2.2.9
Offline
In Setup>General and the "General Setup" tab, there is a timezone option. (I'm running 72.3 still, but I can't imagine it's changed that much.)
My Configuration: GLPI .72.3 running on XAMPP from a VMware Virtual Machine (Windows XP). PHP 5.2, Apache 2.2.3...
Offline
In Setup>General and the "General Setup" tab, there is a timezone option. (I'm running 72.3 still, but I can't imagine it's changed that much.)
No, it doesn't there in 0.78.5 and 0.80
Last edited by Diamond (2011-06-02 04:37:46)
GLPI 0.8 on PHP 5.2.6-1+lenny6, apache 2.2.9
Offline
Hello all,
Can you help me?
GLPI 0.8 on PHP 5.2.6-1+lenny6, apache 2.2.9
Offline
Hello,
Can anyone reply please?
GLPI 0.8 on PHP 5.2.6-1+lenny6, apache 2.2.9
Offline
UP, anyone please comment
GLPI 0.8 on PHP 5.2.6-1+lenny6, apache 2.2.9
Offline
Simply define the time in a .htaccess ini the glpi folder...
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
Simply define the time in a .htaccess ini the glpi folder...
Thanks for your reply. I will check it
GLPI 0.8 on PHP 5.2.6-1+lenny6, apache 2.2.9
Offline
Hmm, it doesn't work on my site.
I added to .htaccess in root folder of glpi
SetEnv TZ Timezonelocation
With Timezonelocation is my timezone.
http://us2.php.net/manual/en/timezones.php
But in Maintenance/log and Historical nothing change. It still display the same as before I add that field to .htaccess file.
Last edited by Diamond (2011-07-26 05:10:56)
GLPI 0.8 on PHP 5.2.6-1+lenny6, apache 2.2.9
Offline
Hmm,
Solved by add this string to .htaccess file on root
php_value date.timezone America/Chicago
Thanks remi for advice.
GLPI 0.8 on PHP 5.2.6-1+lenny6, apache 2.2.9
Offline
The solution above also did the trick for me.
the file .htaccess was accessible but write protected (I cannot save my corrections), so I renamed it to .htaccessold and created a new .htaccess file with following content.
<Files helpdesk.html>
ForceType text/html;charset=utf-8
</Files>php_value date.timezone Asia/Manila
# If you have problem with session.auto_start on install you need to set this value to 0 on php.ini or uncomment this line
#php_value session.auto_start 0
I was just wondering about the file sizes
.htaccessold (the original file) - 220KB
.htaccess (new file) - 0 KB
Offline