PHPRC

From NikkiWiki
(Redirected from PHP Runtime Configuration)
Jump to navigation Jump to search

Resources for configuring a Personal Homepage Hypertext Preprocessor Runtime Configuration (PHPRC).  A "phprc" file is the DreamHost version of a PHP Initialization (php.ini) file.

intro

  1. DreamHost Knowledge Base: "Create a PHPRC File via File Transfer Protocol (FTP)"
  2. PHP: "List of PHP Initialization Directives"

cache

  1. DreamHost Knowledge Base: "Zend Optimizer Plus Cache (OPCache)"

timezone

  1. PHP: "Datetime Configuration"
  2. PHP: "List of Supported Timezones"
  3. PHP: "List of Supported Timezones (America)"

PHPRC for Nicole Sharp’s Website

zend_extension = opcache.so # https://help.dreamhost.com/hc/articles/216660668/

date.default_latitude = 39.651225068479086
date.default_longitude = -78.76700293531056
date.timezone = America/New_York # https://www.php.net/timezones.america.php
# https://www.php.net/datetime.configuration.php

# Personal Homepage Hypertext Preprocessor Runtime Configuration (PHPRC) for Nicole Sharp's Website.
# Copyright (C) 2026-04-09 Nicole Sharp
# https://www.nicolesharp.net/
# Content in this file is available under the Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 International Public License.
# https://www.creativecommons.org/licenses/by-sa/4.0/
# This file uses PHP software, freely available from "https://www.php.net/software/".

references

  1. PHP: "Documentation"