Seiden Group
Modern Development & Open Source for IBM i
  • Link to LinkedIn
  • Link to Mail
  • Home
  • Seiden PHP+
    • Seiden PHP+
    • Install & Learn
    • SmartSupport
    • PHP Migrations & Upgrades
    • Success Stories
    • Free PHP Assessment
    • Documentation
    • What’s New (Changelog)
  • IBM i Services
    • Development
    • Training & Mentoring
    • Open Source Setup & Upgrades
    • SSL/TLS Install & Learn
    • Performance
  • Support
    • Open Source & PHP
    • VS Code for i
    • Developer Support
    • Support Success Stories
  • VS Code for i
    • Support
    • Training
    • Code for i Resource Guide
    • Getting Started Videos
    • Code for IBM i Fridays
  • Free Stuff
    • IBM i Strategy & Tips
    • PHP Upgrade Assessment
    • CNX Valence Assessment
    • VS Code for IBM i Resources
    • Code for IBM i Fridays
    • QCachegrind Download
    • PHP Toolkit for IBM i Resources
    • Qshell on i Library
  • Blog
  • About
    • About Our Team
    • About Alan Seiden
    • Speakers & Sessions
    • In the News
  • Contact
  • 201.447.2437
  • Search
  • Menu Menu

Seiden Group Blog

PHP 8.1 Released for IBM i

December 1, 2021/1 Comment/in PHP, Seiden PHP+ /by Calvin Buckley

PHP 8.1 and IBM i

Good news everyone! In cadence with the release of PHP 8.1 by PHP.net last week, companies running PHP on IBM i can now download PHP 8.1 for use with their own applications.

According to this briefing with IBM i’s Open Source Business Architect, Jesse Gorzinski, staying current with PHP is a best practice for many reasons—for security and security audits, to fix deprecated code before you dig a huge technical debt hole, to keep your PHP environment running smoothly, and so on.

I’ll cover how to access the IBM i version of PHP 8.1 later in this post. First, though, let’s survey our favorite enhancements in this new release. We’re a big fan of PHP’s own release notes, so we recommend that you read them.

Highlights of PHP 8.1

For a highlight reel of the biggest improvements, we like these:

  • Enumerations: Use enumerations instead of constants for easy validation. Enumerations can also have functions associated with them.
  • Fibers: While not directly relevant to an application programmer, fibers are the building blocks for libraries to provide simple concurrency.
  • Class improvements: New read-only properties can be initialized only by constructors; objects can now be used as the default value for a constructor, making nested attributes possible; final class constants prevent child class constants from being overwritten.
  • Better performance: The difference is more pronounced for object-oriented code, due to improvements in inheritance and name resolution.
  • PDO_ODBC fix: In this release, the PHP team has included a fix I submitted for PDO_ODBC that allows PDO::getAttribute() to return values for PDO::ATTR_SERVER_INFO and PDO::ATTR_SERVER_VERSION. (Previously, an exception occurred.)
  • Years of support: PHP 8.1 will receive security fixes till November 2024.

Areas to test with PHP 8.1

PHP tends to have great backwards compatibility between releases. However, some changes might be significant to your application:

  • $GLOBALS has been restricted for modifications.
  • PHP has been changing resource objects to classes, as they’re less clumsy to work with and more amenable to having methods.
  • The HTML entity functions now handle single quotes and substitutions.
  • MySQLi now defaults to exceptions for error handling.

How to access and install PHP 8.1 on IBM i

Seiden PHP+ now includes PHP 8.1, so you can try it for yourself. Here’s how:

  • If you do not yet have Seiden PHP+ installed, access it here and select PHP 8.1 during installation.
  • If you’re already using Seiden PHP+, add the PHP 8.1 repository to your existing installation (email us if you forgot the password).

PRO TIP: To test PHP 8.1 in isolation from your live PHP applications, you can install it in a chroot. (See our tutorial on how to set up a chroot.)

Additional tips on moving to PHP 8.1

  1. For free help scoping your PHP upgrade project, schedule a complimentary PHP upgrade assessment with Alan.
  2. For ongoing, seamless PHP operation, consider trying our proactive PHP support. It includes quarterly tune-up sessions with free advice on configuration and upgrades, security bulletins, responsive troubleshooting, and expedited fixes.
Tags: IBM i, open source upgrade, PHP, PHP 8.1
Share this entry
  • Share on Facebook
  • Share on X
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Reddit
  • Share by Mail
https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Calvin Buckley https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Calvin Buckley2021-12-01 18:04:182025-12-15 11:46:54PHP 8.1 Released for IBM i
Calvin Buckley

About Calvin Buckley

Recognized as an IBM Champion and a 2020 Fresh Face of IBM i, Calvin exhibits remarkable talent for expanding the use of IBM i through open ...Read More

1 reply
  1. Giles Sadler
    Giles Sadler says:
    January 11, 2022 at 5:57 am

    Great work! Warning to people running WordPress though. There are some bits of wordpress that fallover at 8.1. New version of 8.1 compatible WP supposedly slated to role out at the end of Jan 22. I would leave upgrading PHP for WP users ’til a while after that..

    Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

SUBSCRIBE
Open Thinking
Monthly IBM i Strategy & Tips
  • This field is for validation purposes and should be left unchanged.

IBM i Development

  • RPG, COBOL, SQL, Node,
    PHP, Python, Valance, etc.
  • Modernization. Integration.
  • Web and API Solutions
  • Legacy Maintenance
    ...
LET'S GET IT DONE!

Recent Posts

  • Moving to IBM i 7.6? An SDA Alternative with VS Code and IBM Bob
  • What’s New with Mapepire Database Connector for IBM i
  • Do You Need IBM i Observability?
  • PHP 8.6 is Coming Soon to IBM i
  • Safer npm installation is on the way for Node.js (and all JavaScript)
  • Access Modern Security for IBM i and Connected Web Environments
  • IBM i: A Natural Platform for Agentic AI
  • PHP on IBM i in 2026: The Modernization Engine
  • Your “AS/400” Is a Modern IBM i Platform
  • MCP + AI for IBM i Teams (with a MongoDB example)

SEIDEN GROUP: Modern Development & Open Source for IBM i

Home   |   Seiden PHP+   |   IBM i Services  |   Support   |   VS Code for i   |   Free Stuff   |   Blog  |   Privacy Policy  |   Contact         201.447.2437

© 2026 Seiden Group, LLC
  • Link to LinkedIn
  • Link to Mail
Link to: RPGLE Linting and Content Assist with VS Code for IBM i Link to: RPGLE Linting and Content Assist with VS Code for IBM i RPGLE Linting and Content Assist with VS Code for IBM i Link to: PHP 7.3 Enters End of Life Today—Free Upgrade Assessment Link to: PHP 7.3 Enters End of Life Today—Free Upgrade Assessment PHP 7.3 Enters End of Life Today—Free Upgrade Assessment
Scroll to top Scroll to top Scroll to top