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 on IBM i Rebuild Announcement

August 15, 2024/0 Comments/in PHP /by Calvin Buckley

On August 12, 2024, we pushed a major update to Seiden PHP+, in versions from 7.3 to 8.3, to accommodate IBM updates to OpenSSL. If you receive warnings in your PHP error log resembling: Module "PDO" is already loaded in Unknown on line 0, follow the steps in this article.

Next time you run “yum update”

Next time you run yum update, update at least all PHP and IBM packages, because they work together. See our documentation on how to update. Do not mix and match pre- and post-rebuild PHP packages, or it will crash.

As part of the update, we’ve merged some extensions into the PHP binary. The extensions merged into PHP are:

  • DOM
  • PDO
  • mysqlnd

One-line automatic fix

For the global PHP configuration, if you didn’t touch their INI files, RPM will automatically update these to remove the extension= references.

For cases with custom configurations, such as with siteadd, you will need to remove references to these extensions. This can be done with a single command, following the instructions below.

Run the following command in a PASE or QShell environment, replacing SEIDENPHP with the name of your Apache instance:

/QOpenSys/pkgs/bin/update-ini-for-nortl SEIDENPHP.

If the update-ini-for-nortl command is not found, make sure you have the latest version of siteadd (0.13).

Note that you can specify multiple site names, e.g.:

/QOpenSys/pkgs/bin/update-ini-for-nortl SEIDENPHP PHPDEV MYPORTAL

Manual fix

If you prefer to make the fixes manually, comment out (adding ; character) the extension= lines in these three .ini files:

  • 20-dom.ini
  • 20-pdo.ini
  • 20-mysqlnd.ini

These extensions are now built into the PHP binary, no longer needing external directives. To get the path where these .ini files are located, run the following command, substituting your web instance for SEIDENPHP:

/QOpenSys/pkgs/bin/dspsite SEIDENPHP | grep config

It will tell you something like:

PHP config dir (i.e. php.ini) (site-specific): /www/seidenphp/phpconf

and then look in conf.d under that directory.

Additional background

IBM is moving to rebuild their open source packages with OpenSSL 3 while maintaining compatibility with OpenSSL 1.1. However, the way that packages were built with runtime linking would have created conflicts between the OpenSSL 1.1 and 3.0 symbols.

IBM provides an article explaining the justification and impact. For those curious about what options are being used, see the AIX linker manual page.

 

Again, if you run into issues using these instructions, please contact us.

Tags: PHP
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 Buckley2024-08-15 16:18:512024-09-12 22:51:01PHP on IBM i Rebuild Announcement
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

0 replies

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

  • 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)
  • GnuPG PHP Extension for IBM i: Now Included with Seiden Support
  • Getting Started with Code for IBM i: A Lunch & Learn Video

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: What’s New & Exciting in PHP on IBM i in 2024 Link to: What’s New & Exciting in PHP on IBM i in 2024 What’s New & Exciting in PHP on IBM i in 2024 Link to: Code for IBM i Minimum Requirements Link to: Code for IBM i Minimum Requirements Code for IBM i Minimum Requirements
Scroll to top Scroll to top Scroll to top