IBM i developers now have an alternative to proprietary data visualization tools to pinpoint potential bottlenecks in PHP and Node.js code. QCachegrind, an open source tool developed by KDE, turns raw application profiling data into meaningful graphs and visualizations that highlight a program’s most time-consuming functions.
PHP dynamic programming language
With reliable email functionality being one of the top concerns of IBM i PHP users, we’ve made sure that CommunityPlus+ PHP includes everything you need to send email. The PHP mail() function works well, as do components such as Zend\Mail and PHPMailer.
Over the past couple of years, we’ve been hearing from disappointed PHP users that mail() didn’t work in other Community PHP distributions (and some builds of Zend Server). PHP mail() requires an external program that implements the sendmail interface. If your PHP distribution lacked sendmail or equivalent, you might have received a cryptic error message such as:
sh: -t: not found
This article discusses your options for sending email using CommunityPlus+ PHP.
Getting Started with MariaDB on IBM i
MySQL and MariaDB have long been databases used in the Linux world for popular web apps in PHP and other languages. The collective development components—Linux, Apache, MySQL and PHP—are often called the LAMP stack. When PHP was released on IBM i in 2006, the combination of IBM i, Apache, MySQL and PHP became known as the iAMP stack.
PHP 8 has been the biggest change to PHP in years. While PHP 8’s JIT compiler gets most of the publicity, more significant to most developers would be PHP 8’s changes that encourage better coding practices. PHP 8 pushes developers to use clearer syntax and is stricter with problematic code.
While the PHP runtime itself has improved, what about extensions such as ibm_db2? What changes do extension developers need to make to adapt to PHP 8? As maintainers of the ibm_db2 and PDO_IBM database extensions, we’ve learned what it takes to make PHP extensions compatible with PHP 8.
Secure Shell (SSH) provides the best environment for installing, managing, and running open source software on IBM i. Among SSH’s advantages over QSHELL and QP2TERM: IBM i’s SSH command line works just like SSH on Linux or Windows, helping the IBM i platform appeal to younger developers and admins. Supporting a wide range of Unix programs and open source software, such as
git, SSH is our go-to terminal interface for open source and PASE. This article covers how to set up SSH and use it to connect to IBM i servers.
Collaboration Includes Enhanced PHP RPMs and Support Services
Seiden Group is delighted to announce an exclusive partnership with Chubu System Co., Ltd. (CSC) that brings business-ready Community PHP for IBM i to organizations in Japan.
The joint service offering, known as CS^2, includes migration to Community PHP, access to an enhanced, tested repository of PHP RPMs, and responsive technical support.
I recently caught up with Seiden Group CTO Stephanie Rabbani about the ODBC driver that’s quickly becoming standard for open source and web connections on Db2 for i.
Considering a move to RPM-based Community PHP? You’ll need the free, open source PHP Toolkit to connect your PHP applications to resources on your IBM i.
Co-developed by Alan Seiden and maintained by the IBM i community, the toolkit is also known as the XML Toolkit. That’s because the PHP front end and the XMLSERVICE RPG back end communicate via XML.
In our current work with RPMs, we’re adding digital signatures to our PHP packages to enhance their security.
Package Signing ensures the integrity of a package at rest by detecting and deterring tampering. A package is signed with a private key, which is then validated by the public key provided by the package builder and installed by the user. This technique complements TLS encryption, which guards against tampering and snooping in transport.