Notes for Nicole Sharp's Website: Difference between revisions

From NikkiWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 60: Line 60:
** [https://help.dreamhost.com/hc/articles/214920778/ "Where Do I Upload My Files Once Connected via FTP?"]
** [https://help.dreamhost.com/hc/articles/214920778/ "Where Do I Upload My Files Once Connected via FTP?"]


== Notepad Plus Plus ==
== NPP ==
 
Notepad Plus Plus (NPP).


* https://www.notepad-plus-plus.org/
* https://www.notepad-plus-plus.org/
Line 71: Line 73:


== PHP ==
== PHP ==
Personal homepage hypertext preprocessor (PHP).


* https://www.php.net/
* https://www.php.net/
* [https://help.dreamhost.com/hc/articles/214202188/ "PHP [Personal Homepage Hypertext Preprocessor] Overview"]
* [https://help.dreamhost.com/hc/articles/214202188/ "PHP Overview"]


=== PHP version ===
=== PHP version ===
Line 107: Line 111:
* https://www.php.net/manual/
* https://www.php.net/manual/
* https://www.php.net/download-docs.php
* https://www.php.net/download-docs.php
=== PHP encoding ===
* https://www.php.net/manual/ini.core.php#ini.default-charset


=== PHP basics ===
=== PHP basics ===
Line 112: Line 120:
* https://en.wikibooks.org/wiki/PHP_Programming/Commenting_and_Style
* https://en.wikibooks.org/wiki/PHP_Programming/Commenting_and_Style
* https://www.php.net/manual/language.basic-syntax.phptags.php
* https://www.php.net/manual/language.basic-syntax.phptags.php
=== PHP encoding ===
* https://www.php.net/manual/control-structures.declare.php
<syntaxhighlight lang="php">
declare(encoding = "UTF-8");
</syntaxhighlight>


=== PHP comments ===
=== PHP comments ===
Line 188: Line 188:
* Elgg
* Elgg
** https://learn.elgg.org/en/stable/intro/install.html#requirements
** https://learn.elgg.org/en/stable/intro/install.html#requirements
=== PHPRC ===
PHP runtime configuration (PHPRC).
* [https://help.dreamhost.com/hc/articles/214894037/ "Create a PHPRC File via FTP"]
* https://www.php.net/manual/configuration.php
* timezone
** [https://help.dreamhost.com/hc/articles/217185277/ "Running Webscripts in Your Timezone"]
** https://www.php.net/manual/datetime.configuration.php
** https://www.php.net/manual/timezones.php
** https://www.php.net/manual/timezones.america.php
* memory
** [https://help.dreamhost.com/hc/articles/214893937/ "Increase the PHP Memory Limit"]
** [https://help.dreamhost.com/hc/articles/214200558/ "Increase the PHP Upload Limit"]
** https://www.php.net/manual/ini.core.php
** Matomo
*** https://www.matomo.org/how-to-configure-matomo-for-speed/
** MediaWiki
*** https://www.mediawiki.org/wiki/$wgMemoryLimit
*** https://www.mediawiki.org/wiki/User:Aaron_Schulz/How_to_make_MediaWiki_fast
* OPCACHE
** [https://help.dreamhost.com/hc/articles/216660668/ "OPCache &lsqb;Optimizer Plus Cache&rsqb; Overview"]
<syntaxhighlight lang="ini">
date.default_latitude = 39.65123540264049
date.default_longitude = -78.76699928047398
date.timezone = (America/New_York)
memory_limit = 1024M
post_max_size = 512M
upload_max_filesize = 256M
realpath_cache_size = 4M
; https://www.matomo.org/matomo-requirements/
zend_extension = opcache.so
; Personal Homepage Hypertext Preprocessor Runtime Configuration (PHPRC) for Nicole Sharp's Website.
; 2025-01-20 Nicole Sharp
; https://www.nicolesharp.net/
; https://www.nicolesharp.net/info.php
</syntaxhighlight>


[[category:Nicole Sharp's Website]]
[[category:Nicole Sharp's Website]]

Revision as of 2025-01-20T10:06:04

Notes on the development of Nicole Sharp’s Website.

KeePass

LibreOffice

DreamHost

WHOIS

FileZilla

NPP

Notepad Plus Plus (NPP).

PHP

Personal homepage hypertext preprocessor (PHP).

PHP version

  • PHP 8.4
    • 2025-01-16. Elgg 6.1.2
    • 2024-12-21. MediaWiki 1.43.0 LTS (Long-Term Support Release)
    • 2024-12-12. Matomo 5.2.1
    • 2024-11-21. PHP 8.4
  • PHP 8.3
    • 2024-11-20. Elgg 5.1.12 LTS
    • 2023-11-23. PHP 8.3

PHP manual

PHP encoding

PHP basics

PHP comments

PHP info

<?php

phpinfo(INFO_GENERAL);
phpinfo(INFO_CONFIGURATION);
phpinfo(INFO_MODULES);
phpinfo(INFO_ENVIRONMENT);
phpinfo(INFO_CREDITS);
phpinfo(INFO_LICENSE);

/*
Personal Homepage Hypertext Preprocessor Info (PHPINFO) for Nicole Sharp's Website.
2025-01-20 Nicole Sharp
https://www.nicolesharp.net/
https://www.nicolesharp.net/info.php
*/

?>

Do not use "phpinfo();"!

PHP modules

  • apcu
  • calendar
  • curl
  • dom
  • exif
  • fileinfo
  • gd
  • iconv
  • intl
  • json
  • mbstring
  • mysqli
  • opcache
  • openssl
  • pcre
  • pdo
  • session
  • sockets
  • spl
  • xml
  • xmlreader
  • zlib

Apache GZIP (GNU Zip) and PHP ZLIB (Zip Library) on HTTPS (Hypertext Transfer Protocol Secure) can create a security vulnerability.  Avoid using.

PHPRC

PHP runtime configuration (PHPRC).

date.default_latitude = 39.65123540264049
date.default_longitude = -78.76699928047398
date.timezone = (America/New_York)

memory_limit = 1024M
post_max_size = 512M
upload_max_filesize = 256M
realpath_cache_size = 4M
; https://www.matomo.org/matomo-requirements/

zend_extension = opcache.so

; Personal Homepage Hypertext Preprocessor Runtime Configuration (PHPRC) for Nicole Sharp's Website.
; 2025-01-20 Nicole Sharp
; https://www.nicolesharp.net/
; https://www.nicolesharp.net/info.php