PHPRC

From NikkiWiki
Revision as of 2026-04-11T20:22:21 by Nicole Sharp (talk | contribs) (PHPRC for Nicole Sharp’s Website)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: https://www.nicolesharp.net/
# Copyright (C) 2026-04-09 Nicole Sharp (NicoleSharp.net)
# Content in this file is available under the Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 International Public License: https://www.nicolesharp.net/wiki/CC_BY-SA
# This file uses PHP software, freely available from: https://www.php.net/software/

references

  1. PHP: "Documentation"