WordPress runs on PHP, in order a WordPress developer, it’s essential to know the PHP purposes enabled at the server that hosts your website online(s).

Do you wish to have to arrange a plugin or configure an software on a WordPress website online and are questioning if a undeniable PHP serve as or library is enabled to your server (e.g. cURL)?

On this educational, we’ll display you a snappy and clean option to in finding enabled PHP purposes to your server the use of the phpinfo() serve as in WordPress. We additionally supply a complete thesaurus of those PHP purposes for reference, and that will help you higher perceive the backend of your WordPress websites.

This fast educational covers the next:

What’s phpinfo()?

The phpinfo() serve as is a integrated PHP serve as that gives an extended record of detailed details about the PHP set up and configuration settings to your server, together with the entire loaded extensions.

When phpinfo() is known as and carried out, it generates a complete HTML web page that shows more than a few sides of the PHP atmosphere, together with PHP model, extensions, directives, atmosphere variables, and extra.

The phpinfo() serve as outputs data in a tabular structure, making it clean to navigate and perceive the PHP configuration. This information permits you to leverage the to be had purposes to your website hosting atmosphere and optimize your WordPress building procedure.

The guidelines displayed by means of phpinfo() can also be classified into other sections that offer particular information about a specific side of the PHP atmosphere.

Some commonplace data you’ll be able to in finding the use of phpinfo() comprises:

1. PHP model: The model of PHP working at the server.
2. Configuration settings: Quite a lot of settings and directives outlined within the PHP configuration record (php.ini).
3. Extensions: An inventory of loaded PHP extensions and their configurations.
4. Atmosphere variables: Server atmosphere variables and their values.
5. PHP variables: Details about predefined PHP variables, reminiscent of `$_SERVER`, `$_GET`, `$_POST`, and so on.
6. HTTP headers: HTTP request and reaction headers.

For an inventory of all PHP purposes enabled to your server, see the academic underneath.

Notes:

  • Use phpinfo() with warning. Whilst it supplies treasured data for building and troubleshooting functions, it will have to no longer be left obtainable on a manufacturing server. After acquiring the important data, we advise doing away with or commenting out the phpinfo() serve as name for safety functions.
  • In the event you simplest wish to know which model of PHP your server is recently working, you’ll be able to skip the academic underneath and easily move to the Web hosting > Evaluate tab in The Hub.
The Hub - Hosting Overview screen - PHP version information.
Take a look at which model of PHP your server is working from The Hub

The best way to To find Enabled PHP Purposes On Your Server The usage of phpinfo()

Through following the stairs defined on this educational, you are going to learn to simply retrieve an inventory of data appearing the entire enabled PHP purposes and extensions to your server.

For this educational, we’ll display you methods to get entry to the record of PHP purposes for a WordPress website online arrange on WPMU DEV website hosting. Observe that other website hosting environments might use other gear and find out how to show this knowledge. Succeed in out on your website hosting enhance when you’ve got any questions or want lend a hand.

Step 1: Get admission to your WordPress website online’s information

To start, you wish to have with the intention to get entry to the WordPress website online’s information saved to your server. You’ll be able to do that both by means of FTP or the use of our Record Supervisor software.

Step 2: Create a PHP record

Subsequent, create a PHP record the use of a textual content editor and upload the phpinfo() serve as proven underneath:


You'll be able to title this PHP record the rest you favor. Within the instance underneath, we’ve named the record ‘data.php’ (observe: keep away from the use of an current filename discovered at the root folder of your WordPress set up to stop overwriting the unique record).

PHP file
Create a PHP record to name the phpinfo() serve as.

Save your PHP record and shut your textual content editor.

Step 3: Add the record on your server

Find the foundation listing of your WordPress set up, the place the principle information like wp-config.php and index.php are situated, and add your record to this folder.

As discussed previous, you'll be able to do that simply the use of our Record Supervisor software.

File Manager
Add the record to the WordPress set up root listing.

Step 4: Get admission to the phpinfo() output

Open your WordPress website online in a internet browser and input the URL of the uploaded PHP record to generate a PHP serve as document.

You will have to see the PHP data displayed. The output will comprise detailed details about the PHP configuration, together with all enabled purposes to your server.

PHP function report.
PHP serve as document.

Step 5: Find the enabled PHP purposes

Scroll down the phpinfo() output to discover a particular serve as. Most often, you are going to discover a record of all enabled PHP purposes at the side of their respective settings and configurations within the segment classified “Core.”

That’s all there may be to it!

Seek advice from the Thesaurus segment underneath if you wish to have to seem up any of the purposes indexed on your generated PHP serve as document .

Thesaurus of PHP Purposes

This thesaurus supplies an inventory of more than a few PHP purposes and their programs. Be happy to bookmark this web page and use it as a snappy reference information to raised perceive the backend of your WordPress websites.

Configuration

This serve as offers with putting in PHP to paintings with the Web server and to outline settings inside your PHP scripts.

  • bcmath – This module allows arbitrary precision arithmetic in PHP.
  • calendar – This serve as of PHP lets in conversions between more than a few calendar codecs.
  • cgi-fcgi – Command for PHP when run in CGI or FastCGI mode.

Core

Those are elementary PHP purposes and categories that shape the core of the PHP language.

  • ctype – A library of PHP that exams if the knowledge form of a variable is a legitimate persona kind.
  • curl – Used for shifting knowledge with URLs and is the spine of a couple of purposes in PHP.
  • date – A bunch of purposes that allow you to retrieve or structure the native or GMT date and time in PHP.
  • dom – A PHP extension that gives a powerful, robust DOM (Report Object Style) XML API.
  • exif – PHP serve as used to paintings with symbol metadata.
  • FFI – Overseas Serve as Interface is an extension that gives a easy option to name local purposes, get entry to local variables, and create/get entry to knowledge buildings outlined in C libraries.
  • fileinfo – A PHP extension that lets you establish a record’s mime kind.
  • filter out – This serve as filters knowledge by means of both validating or sanitizing it which aids in securing a PHP software.
  • ftp – FTP PHP purposes lend a hand identify a connection to a far off FTP server, a an important a part of record sharing.
  • gd – A library used for dynamic symbol advent.
  • gettext – An extension aimed on the internationalization of PHP scripts by means of offering translation enhance.
  • gmp – This can be a PHP extension for arbitrary precision arithmetic.
  • hash – This serve as is used to generate a hash price from a string.
  • iconv – Supplies an interface to the GNU iconv library, which supplies conversion of persona units.
  • igbinary – A substitute for PHP serializer with higher functionality and smaller dimension.
  • imagick – A PHP extension that permits running with ImageMagick, a powerful instrument suite to create, edit, and compose pictures.
  • imap – This serve as supplies an API for chatting with the web mail servers the use of PHP.
  • intl – This extension is helping to accomplish UCA-conformant collation and date/time/quantity/forex formatting in PHP.
  • json – JSON purposes in PHP lets in for encoding and interpreting JSON knowledge.
  • ldap – LDAP purposes attach, bind and disconnect from an LDAP listing.
  • libxml – A basis library that provides a collection of APIs for manipulating XML, together with parsing XML paperwork and enhance for different record varieties like HTML.
  • mbstring – A non-binary string dealing with extension that gives multibyte particular string purposes.
  • mcrypt – Supplies a number of encryption purposes.
  • memcache – Memcache module supplies to hand procedural and object-oriented interface to memcached, high-performance, disbursed reminiscence object caching gadget, generic in nature however meant to be used in dashing up dynamic internet programs by means of assuaging database load.
  • memcached – An extension for interfacing with memcached by means of libmemcached library.
  • msgpack – Supplies an interface to msgpack.org, which is a binary-based environment friendly object serialization library.
  • mysqli – A database driving force used to engage with MySQL databases.
  • mysqlnd – It’s the MySQL local driving force for PHP.
  • openssl – A powerful PHP serve as used for producing and verifying virtual signatures.
  • pcre – Supplies purposes for ‘perl-compatible common expressions’.
  • PDO – PHP Information Items is a database get entry to layer offering a uniform approach of get entry to to a couple of databases.
  • pdo_mysql – A driving force that implements the PHP Information Object (PDO) interface to allow get entry to to MySQL databases.
  • Phar – An archive structure blended with a runtime library to lend a hand construct and cargo PHP programs bundled right into a unmarried record.
  • posix – Accessors to the POSIX (Unix) gadget calls.
  • readline – Supplies an interactive line modifying features and historical past purposes.
  • redis – A PHP extension for interfacing with Redis, a excessive functionality key-value garage provider.
  • Mirrored image – A PHP extension, lets in inspection and reverse-engineering of PHP techniques the use of a procedure referred to as “mirrored image”.
  • consultation – This serve as allows person consultation control.
  • shmop – A easy interface for gaining access to shared reminiscence segments in PHP.
  • SimpleXML – An extension that simplifies the paintings of studying XML information.
  • cleaning soap – SoapClient is a PHP integrated magnificence offering strategies for sending SOAP requests and receiving SOAP responses from a URL.
  • sockets – PHP socket purposes allow you to create and organize community sockets, low-level community communications between servers.
  • sodium – Sodium is a contemporary, easy-to-use instrument library for encryption, decryption, signatures, password hashing and extra.
  • SPL – The Same old PHP Library (SPL) is a choice of interfaces and categories which are a part of PHP core.
  • usual – Those are integrated purposes and categories equipped by means of PHP which don't depend on exterior dependencies or PHP extensions.
  • sysvmsg – It supplies an interface to Device V message queues.
  • sysvsem – Gives get entry to to POSIX-style semaphores.
  • sysvshm – Supplies shared reminiscence purposes.
  • tokenizer – The tokenizer purposes supply an API that permits changing PHP supply code into an array of tokens.
  • xml – XML (eXtensible Markup Language) Parser purposes allow you to parse XML paperwork.
  • xmlreader – An extension that attracts knowledge in and pushes it again out once more.
  • xmlrpc – PHP implementation of XML-RPC protocol utilized in exchanging knowledge throughout a community.
  • xmlwriter – An extension to create XML paperwork the use of a easy ‘constructor-like’ genre.
  • xsl – XSL is a language for expressing genre sheets to develop into XML paperwork into different XML paperwork.
  • Zend OPcache – An open-source part that improves PHP functionality by means of storing pre-compiled script bytecode in shared reminiscence, thereby doing away with the desire for PHP to load and parse scripts on each and every request.
  • zip – PHP zip extension is used to learn, write, and manipulate zip archives.
  • zlib – Supplies get entry to to zlib compression library.

Further Modules

Those are the underlying instrument parts or libraries that upload more than a few functionalities to the PHP scripting language.

Atmosphere

Occupied with putting in, configuring, and managing the PHP runtime atmosphere.

PHP Variables

Those are used to retailer knowledge which can also be changed all the way through the execution of your script.

DIY or Use Our Give a boost to Workforce

Finding out PHP will make stronger your talent to troubleshoot, alter and optimize your WordPress website online.

With a bit of luck, this educational will come in useful if you wish to have to do a snappy glance up of your server’s enabled PHP purposes. In fact, in case your WordPress websites are hosted with WPMU DEV, you'll be able to at all times achieve out to our 24/7 enhance crew for knowledgeable help on the rest WordPress and website hosting comparable, or get immediate solutions with our AI-powered assistant.

And leisure confident, our website hosting is configured to paintings with on the subject of all WordPress plugins, programs, and configurations.

WordPress Developers

[ continue ]