Skip to content

Instantly share code, notes, and snippets.

@vidluther
Created July 29, 2012 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vidluther/3199602 to your computer and use it in GitHub Desktop.
Save vidluther/3199602 to your computer and use it in GitHub Desktop.
fpm chroot output
Hello<pre>Array
(
[USER] => apache
[HOME] => /var/www
[FCGI_ROLE] => RESPONDER
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[CONTENT_TYPE] =>
[CONTENT_LENGTH] =>
[SCRIPT_NAME] => /test.php
[REQUEST_URI] => /test.php
[DOCUMENT_URI] => /test.php
[DOCUMENT_ROOT] => /var/www/html
[SERVER_PROTOCOL] => HTTP/1.1
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_SOFTWARE] => nginx/1.2.2
[REMOTE_ADDR] => 127.0.0.1
[REMOTE_PORT] => 48177
[SERVER_ADDR] => 127.0.0.1
[SERVER_PORT] => 80
[SERVER_NAME] => localhost
[REDIRECT_STATUS] => 200
[SCRIPT_FILENAME] => /test.php
[HTTP_USER_AGENT] => curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
[HTTP_HOST] => localhost
[HTTP_ACCEPT] => */*
[PHP_SELF] => /test.php
[REQUEST_TIME_FLOAT] => 1343576587.8431
[REQUEST_TIME] => 1343576587
)
</pre> <hr /><br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/test.php</b> on line <b>8</b><br />
<br />
<b>Fatal error</b>: date(): Timezone database is corrupt - this should *never* happen! in <b>/test.php</b> on line <b>8</b><br />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment