In the past, PHP on IBM i implementations could not load both the classic database extensions (ibm_db2 / PDO_IBM) and the ODBC extensions (odbc / PDO_ODBC) at the same time. An error such as “ibm_db2 GetDiagRec failed” would result.
In July 2021, we overcame those limitations in Seiden PHP+. Now the classic PHP database extensions can run side-by-side with ODBC.
To our knowledge, Seiden PHP+ is the only IBM i PHP that can load all the Db2 extensions at the same time. Therefore, when you install Seiden PHP+, all the Db2 extensions (ibm_db2, PDO_IBM, odbc, and PDO_ODBC) can be enabled by default.
Read more →
New IBM i extension for PHP
/0 Comments/in IBM i, Open Source, PHP /by Calvin BuckleyAlthough most business requirements are met by the existing ibm_db2 and PDO_ODBC extensions plus the PHP Toolkit, the new
php-ibmimakes it easier to accomplish several (formerly) difficult or impossible tasks—especially for tool vendors, and when troubleshooting.We’ve built six functions thus far, with the possibility of more in the future. Let us know what you think.
Read more →
Update: Code for IBM i Language Tools
/0 Comments/in RPG, VS Code for i /by Liam Barry AllanRead more →
Porting a Cross-Platform C++ Application to Mac
/0 Comments/in Open Source /by Calvin BuckleyAn article about building C++ software for macOS might seem out of the ordinary for Seiden Group, a company that focuses on IBM i, but we have a good reason: we’ve been enhancing open source tools for PHP and Python. One of these is KCachegrind, an open source visualization tool that integrates with PHP’s Xdebug’s powerful application profiler and Python’s cprofile.
While KCachegrind and its cousin QCachegrind are easily available for Linux, only very outdated builds were available for Windows, and none at all for macOS. To rectify the situation, we’ve been making enhancements; providing QCachegrind builds for the community; and documenting how to use QCachegrind with Xdebug.
We’ve learned how to build cross-platform applications that work well on a Mac. This article documents many of the challenges we faced and solutions we found.
Read more →
ibm_db2 & ODBC Run Side-by-Side in Seiden PHP+
/0 Comments/in ODBC, PHP, Seiden PHP+ /by Calvin Buckleyibm_db2 GetDiagRec failed” would result.In July 2021, we overcame those limitations in Seiden PHP+. Now the classic PHP database extensions can run side-by-side with ODBC.
To our knowledge, Seiden PHP+ is the only IBM i PHP that can load all the Db2 extensions at the same time. Therefore, when you install Seiden PHP+, all the Db2 extensions (ibm_db2, PDO_IBM, odbc, and PDO_ODBC) can be enabled by default.
Read more →
Visual Studio Code and 5250
/9 Comments/in RPG, VS Code for i /by Liam Barry AllanWith our latest version of Code for IBM i, developers have access to virtually everything they need when writing both RPG and open source applications, all in a single editor.
This blog post covers the two types of terminals available: a PASE shell, enhanced in 0.84 for faster launch, and a 5250 terminal.
Read more →
No, Apache Isn’t Vulnerable to the Log4j Vulnerability
/1 Comment/in Apache /by Calvin BuckleyUpdated December 19, 2021
The Log4j Java library has been in the news recently. The details of vulnerability CVE-2021-44228 have been well documented by others, but to summarize, it allows arbitrary code execution through maliciously crafted messages. These messages cause the Java virtual machine to look up classes from an LDAP server and load them. This is obviously not good, but unless you’re familiar with Java, you might be concerned what is and isn’t vulnerable; this article aims to clarify that.
Read more →
PHP 7.3 Enters End of Life Today—Free Upgrade Assessment
/0 Comments/in PHP /by Amy LantzUPDATE: CommunityPlus+ PHP is now known as Seiden PHP.
If you’re still running applications on PHP 5.4, 5.6 or 7.3 (run php -v to check), it’s time to schedule a free upgrade assessment.
PHP upgrades are easier now, thanks to IBM’s adoption of RPM-based open source packages. Over the past year, our clients have reported smooth and even enjoyable migrations to CommunityPlus+ PHP 7.4 and 8.0.
Read more →
PHP 8.1 Released for IBM i
/1 Comment/in PHP, Seiden PHP+ /by Calvin BuckleyGood 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.
Read more →
RPGLE Linting and Content Assist with VS Code for IBM i
/8 Comments/in RPG, VS Code for i /by Liam Barry AllanToday we’re announcing a new killer productivity tool for Code for IBM i—a built-in linter!
Read more →
Optimize Your IBM i Web Application Using FastCGI
/0 Comments/in PHP /by Calvin Buckley(Co-written with Alan Seiden)
Read more →