How to Upgrade Zend Framework 1 to PHP 7.4 or 8.x

UPDATED SEPTEMBER 15, 2022

Zend Framework

For security, performance, and developer productivity, we encourage PHP users to upgrade to current versions of  PHP.

What gets in the way of upgrading PHP? Often, it’s an old framework release, such as Zend Framework 1 (ZF1), which reached end of life in 2016. This article will show an easy way to upgrade PHP, even with ZF1 applications.

Read more

Sending Email from PHP on IBM i

With reliable email functionality being one of the top concerns of IBM i PHP users, we’ve made sure that Seiden 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:

This article discusses your options for sending email using Seiden PHP+.

Read more

Migrating from Zend Framework 1 (ZF1) to Newer PHP Frameworks

Over the last few years, we’ve been helping clients upgrade the venerable Zend Framework 1 (ZF1) to newer PHP frameworks. The effort is necessary but not trivial. To help you succeed with your migration, here are some suggestions.

ZendCon 2015 starts October 19

This year’s ZendCon has a new location—Las Vegas—and more IBM i speakers than ever, including:

  • Tony Cairns (IBM)
  • Massimiliano Cavicchioli (Zend)
  • Jim Oberholtzer (Agile Technology Architects)
  • Mike Pavlak (Zend)
  • Stephanie Rabbani (BCD)
  • Chuk Shirley (Sabel Steel)
  • Shlomo Vanunu (Zend)
  • and myself, Alan Seiden (Alan Seiden Consulting)

Tutorial day, Oct. 19, is recommended at this premier PHP conference. I’ll present “Db2 and PHP in Depth,” a three-hour tutorial of techniques for using IBM i’s native database, which can help make PHP applications more secure, easier to write, and faster. I’ll also present new features of Db2 and PHP’s Db2 interface that were inspired largely by comments and requests of past ZendCon attendees. Special guest Tony Cairns from IBM is expected, too, for a lively discussion about practical PHP development on IBM i. Bring your questions.

Later in the week I’ll present “Create a welcoming development environment on IBM i,” based on my experience leading PHP projects for IBM i, and “Strategic Modernization with PHP,” which shows the possibilities on the IBM i platform and the strengths of various approaches. Expect to hear valuable advice from your colleagues, too.

I’m looking forward to attending talks, talking to sponsors, chatting with many of my blog and newsletter readers, meeting clients, and getting to know Rogue Wave, the company that recently acquired Zend.

Information about ZendCon: http://zendcon.com

ZF2 and DB2 for IBM i

I’d like to address questions about DB2 support in Zend Framework 2.x. Because I helped create the IBM i-friendly DB2 adapter for Zend Framework 1.x, I’ve followed the development of a similar adapter for ZF2.

(updated January 30, 2013, upon the release of ZF 2.1)

Q. Does ZF 2 include an adapter for DB2?
A. Yes! Starting with ZF 2.1, which was released today.

Q. Is Alan’s IBM i-friendly DB2 adapter for Zend Framework 1.x needed in 2.x?
A. No. Because ZF’s Zend_Db equivalent in 2.x works differently than in 1.x, my 1.x component is not needed in 2.x.

Q. Does ZF 2.1’s DB2 adapter work with IBM i?
A. Yes! Please try it and provide feedback to the ZF team.