Php and Database Settings
How do i upgrade, downgrade, change or view my PHP Version?:
By default, we are currently using PHP version 8.3, to change or view your current PHP version, navigate to:
DirectAdmin home page > Account manager > Domain Setup > Click on your domain that you wish to update.
Then click on the top left PHP version selector
From there you can see the current PHP version, as well as change the version to what you require.
As versions reach their EOL (End of Life) as referenced here https://endoflife.date/php
We will update and implement the new version for users to migrate to.
Modules:
These are the currently installed PHP modules we have installed by default for PHP and their purpose.
If you require a module that is not currently listed on our installed base, feel free to contact us and request that the required module is installed.
PHP Module |
Purpose |
bcmath |
Provides support for arbitrary precision mathematics |
calender |
Supports calendar conversions and calculations. |
Core |
The core of PHP, provides base functionality for all PHP scripts. |
Ctype |
Functions for checking character types (e.g., alphanumeric, digits). |
curl |
Allows data transfer with URL syntax, including FTP, HTTP, and HTTPS. |
date |
Date and time manipulation functions. |
dom |
Provides DOM (Document Object Model) XML functions. |
exif |
Reads metadata from images (Exchangeable Image File Format). |
FFI |
Foreign Function Interface for using C libraries in PHP. |
fileinfo |
Detects file types based on file content and MIME type. |
filter |
Functions for input validation and sanitization. |
ftp |
Provides support for file transfer using the FTP protocol. |
gd |
Image processing and creation functions. |
gettext |
Supports internationalization and localization. |
hash |
Provides hashing algorithms for data integrity checks. |
iconv |
Converts between different character encodings. |
intl |
Functions for internationalization, including Unicode support. |
json |
Encodes and decodes JSON data. |
libxml |
XML parsing library, required by several other XML-based modules. |
mbstring |
Multibyte string processing, crucial for non-ASCII character handling. |
mysqli |
Improved MySQL database interaction. |
mysqlnd |
MySQL native driver for enhanced database performance. |
openssl |
Provides support for encryption, decryption, and secure communications. |
pcre |
Provides regular expression support. |
PDO |
PHP Data Objects, a database abstraction layer. |
pdo_mysql |
PDO driver for interacting with MySQL databases. |
pdo_sqlite |
PDO driver for interacting with SQLite databases. |
Phar |
Handles PHP Archive files (used for packaging PHP apps). |
posix |
Provides POSIX-like functions for process management. |
random |
Generates cryptographically secure random values. |
Reflection |
Provides introspection functions for examining PHP scripts. |
session |
Manages user sessions and session data. |
shmop |
Functions for shared memory operations. |
SimpleXML |
Easy access to XML data as PHP objects. |
soap |
Implements SOAP protocol for web services. |
sockets |
Provides low-level socket communications. |
sodium |
Provides modern cryptographic operations. |
SQL |
Offers SQL-based database interaction capabilities. |
sqlite3 |
SQLite 3 database interaction support. |
standard |
A core module providing common functions like arrays, strings, and more. |
sysvmsg |
Inter-process communication using System V message queues. |
sysvsem |
Inter-process communication using System V semaphores. |
sysvshm |
Inter-process communication using System V shared memory. |
tokenizer |
Tokenizes PHP code for parsing and analysis. |
xml |
Basic XML parsing functions. |
xmlreader |
Reads XML documents in a forward-only, stream-oriented way. |
xmlwriter |
Writes XML documents using a stream-oriented approach. |
xsl |
Supports XSLT transformations for XML documents. |
zip |
Functions for creating, reading, and extracting ZIP archives. |
zlib |
Provides compression and decompression functions. |
What Database type & version do we use?
To view what Database type & version we use, navigate to:
DirectAdmin home page > Account manager > Databases.
After clicking on Databases, scrolling to the bottom of the page we can find the current version and type.
Type: MariaDB
Version: 10.6.19