Skip to content

Instantly share code, notes, and snippets.

@phpleo
Created July 10, 2011 03:52
Show Gist options
  • Select an option

  • Save phpleo/1074243 to your computer and use it in GitHub Desktop.

Select an option

Save phpleo/1074243 to your computer and use it in GitHub Desktop.
Configurando php en ubuntu
$ sudo gedit /etc/php5/cgi/php.ini
; Identifica tu timezone en: http://www.php.net/manual/es/timezones.php
; Dentro del php.ini busca (date.timezone) y reemplaza por el tuyo:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "America/Lima"
; Buscar short_open_tag y setearla a Off:
short_open_tag = Off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment