Notes for Nicole Sharp's Website: Difference between revisions

From NikkiWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 189: Line 189:
** https://learn.elgg.org/en/stable/intro/install.html#requirements
** https://learn.elgg.org/en/stable/intro/install.html#requirements


=== PHPRC ===
== PHPRC ==


PHP runtime configuration (PHPRC).
PHP runtime configuration (PHPRC).
Line 230: Line 230:
; https://www.nicolesharp.net/info.php
; https://www.nicolesharp.net/info.php
</syntaxhighlight>
</syntaxhighlight>
== Matomo ==
* https://www.matomo.org/
* download
** https://www.matomo.org/download/
* install
** https://www.matomo.org/installing-matomo/
[https://www.matomo.org/how-can-i-automatically-stop-long-running-database-queries/ Use PDO (PHP Data Objects) not MySQLi (My Structured Query Language Improved).]
=== Matomo 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 ==
* https://www.mediawiki.org/
* https://www.mediawiki.org/wiki/what_is_MediaWiki
* https://www.mediawiki.org/wiki/deciding_whether_to_use_a_wiki
* https://en.wikipedia.org/wiki/MediaWiki
* requirements
** https://www.mediawiki.org/wiki/requirements
** https://www.mediawiki.org/wiki/compatibility
* download
** https://www.mediawiki.org/wiki/download
* install
** https://www.mediawiki.org/wiki/installation
** <kbd>$wgUploadDirectory/deleted</kbd>
** <kbd>$wgResourceBasePath/resources/assets/mediawiki.png</kbd>
* license
** https://creativecommons.org/licenses/by-sa/4.0/
** [[Creative Commons Attribution-ShareAlike 4.0 International Public License|<cite>Creative Commons Attribution-ShareAlike 4.0 International Public License</cite>]]
* settings
** https://www.mediawiki.org/wiki/LocalSettings
** https://www.mediawiki.org/wiki/configuration
** https://www.mediawiki.org/wiki/configuration_settings
* password
** https://www.mediawiki.org/wiki/securing_database_passwords
* permissions
** https://www.mediawiki.org/wiki/preventing_access
* shortlinks
** https://www.mediawiki.org/wiki/shortlinks
** https://www.mediawiki.org/wiki/Apache_shortlinks
* logos
** https://www.creativecommons.org/downloads/
** https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-sa.svg
** https://www.mediawiki.org/wiki/$wgRightsIcon
** https://www.mediawiki.org/wiki/$wgRightsText
* counts
** https://www.mediawiki.org/wiki/article_count
** https://www.mediawiki.org/wiki/$wgArticleCountMethod
* view
** https://www.mediawiki.org/wiki/$wgRCMaxAge
** https://www.mediawiki.org/wiki/$wgRCWatchCategoryMembership
** https://www.mediawiki.org/wiki/$wgDefaultUserOptions
** https://www.mediawiki.org/wiki/$wgUnwatchedPageThreshold
** https://www.mediawiki.org/wiki/TOC
* search
** https://www.mediawiki.org/wiki/namespace_constants
** https://www.mediawiki.org/wiki/$wgNamespacesToBeSearchedDefault
** https://www.mediawiki.org/wiki/$wgOpenSearchDefaultLimit
** https://www.mediawiki.org/wiki/$wgOpenSearchDescriptionLength
** https://www.mediawiki.org/wiki/$wgAdvancedSearchHighlighting
** https://www.mediawiki.org/wiki/$wgSearchMatchRedirectPreference
* configuration
** https://www.mediawiki.org/wiki/$wgMaxShellMemory
** https://www.mediawiki.org/wiki/$wgMaxShellFileSize
** https://www.mediawiki.org/wiki/$wgMaxCredits
** https://www.mediawiki.org/wiki/$wgNoFollowLinks
** https://www.mediawiki.org/wiki/$wgAdvertisedFeedTypes
** https://www.mediawiki.org/wiki/$wgFilterLogTypes
** https://www.mediawiki.org/wiki/$wgCookiePrefix
** https://www.mediawiki.org/wiki/$wgActiveUserDays
** https://www.mediawiki.org/wiki/$wgEdititis
** https://www.mediawiki.org/wiki/$wgHideIdentifiableRedirects
** https://www.mediawiki.org/wiki/$wgExtraSignatureNamespaces
** https://www.mediawiki.org/wiki/$wgCategoryPagingLimit
** https://www.mediawiki.org/wiki/$wgLearnerMemberSince
** https://www.mediawiki.org/wiki/$wgExperiencedUserMemberSince
** https://www.mediawiki.org/wiki/$wgExperiencedUserEdits
** https://www.mediawiki.org/wiki/$wgRegisterInternalExternals
** https://www.mediawiki.org/wiki/$wgAllowSlowParserFunctions
** https://www.mediawiki.org/wiki/$wgEnableProtectionIndicators
* extensions
** https://www.mediawiki.org/wiki/Extension:HeadScript
** https://www.mediawiki.org/wiki/Extension:WikiSEO


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

Revision as of 2025-01-20T10:42:21

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).

Matomo 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