PHPRC: Difference between revisions

From NikkiWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Resources for configuring a Personal Homepage Hypertext Preprocessor Runtime Configuration (PHPRC).&ensp; A "<code>phprc</code>" file is the DreamHost version of a PHP Initialization (<code>php.ini</code>) file.
Resources for configuring a <strong>Personal Homepage Hypertext Preprocessor Runtime Configuration (PHPRC)</strong>.&ensp; A "<code>phprc</code>" file is the DreamHost version of a <strong>PHP Initialization (<code>php.ini</code>)</strong> file.


* [https://help.dreamhost.com/hc/articles/214894037/ <cite>DreamHost Knowledge Base</cite>: "Create a PHPRC File via File Transfer Protocol (FTP)"]
== intro ==
* [https://www.php.net/ini.list.php <cite>PHP</cite>: "List of PHP Initialization Directives"]
 
# [https://help.dreamhost.com/hc/articles/214894037/ <cite>DreamHost Knowledge Base</cite>: "Create a PHPRC File via File Transfer Protocol (FTP)"]
# [https://www.php.net/ini.list.php <cite>PHP</cite>: "List of PHP Initialization Directives"]


== cache ==
== cache ==


* [https://help.dreamhost.com/hc/articles/216660668/ <cite>DreamHost Knowledge Base</cite>: "Zend Optimizer Plus Cache (OPCache)"]
# [https://help.dreamhost.com/hc/articles/216660668/ <cite>DreamHost Knowledge Base</cite>: "Zend Optimizer Plus Cache (OPCache)"]


== timezone ==
== timezone ==


* [https://www.php.net/datetime.configuration.php <cite>PHP</cite>: "Datetime Configuration"]
# [https://www.php.net/datetime.configuration.php <cite>PHP</cite>: "Datetime Configuration"]
* [https://www.php.net/timezones.php <cite>PHP</cite>: "List of Supported Timezones"]
# [https://www.php.net/timezones.php <cite>PHP</cite>: "List of Supported Timezones"]
* [https://www.php.net/timezones.america.php <cite>PHP</cite>: "List of Supported Timezones (America)"]
# [https://www.php.net/timezones.america.php <cite>PHP</cite>: "List of Supported Timezones (America)"]


== PHPRC for <cite>Nicole Sharp’s Website</cite> ==
== PHPRC for <cite>Nicole Sharp’s Website</cite> ==
Line 31: Line 33:
# This file uses PHP software, freely available from "https://www.php.net/software/".
# This file uses PHP software, freely available from "https://www.php.net/software/".
</syntaxhighlight>
</syntaxhighlight>
== references ==
# [https://www.php.net/docs.php <cite>PHP</cite>: "Documentation"]


[[category:webdevelopment]]
[[category:webdevelopment]]

Latest revision as of 2026-04-09T22:44:22

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"