Notes for Nicole Sharp's Website: Difference between revisions

From NikkiWiki
Jump to navigation Jump to search
No edit summary
Line 74: Line 74:
== PHP ==
== PHP ==


Personal homepage hypertext preprocessor (PHP).
Personal Homepage Hypertext Preprocessor (PHP).


* https://www.php.net/
* https://www.php.net/
Line 191: Line 191:
== PHPRC ==
== PHPRC ==


PHP runtime configuration (PHPRC).
PHP Runtime Configuration (PHPRC).


* [https://help.dreamhost.com/hc/articles/214894037/ "Create a PHPRC File via FTP"]
* [https://help.dreamhost.com/hc/articles/214894037/ "Create a PHPRC File via FTP"]

Revision as of 2025-01-20T11:05:52

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

Matomo

Use PDO (PHP Data Objects) not MySQLi (My Structured Query Language Improved).

Do not modify "/config/config.ini.php".  Use "Force SSL" (Secure Sockets Layer) extension instead.

  • extensions
    • Queued Tracking
    • Force SSL
    • Tasks Timetable
    • Provider
    • Custom Alerts
    • Security Info
    • Google Analytics Importer
    • Log Viewer
    • Treemap Visualization
    • JS Tracker Custom
    • Environment Variables
    • JS Tracker Force Async
    • IP 2 Location
    • IP 2 Proxy

MediaWiki

Elgg