Hmm. I thought this had fixed my issues, but today I'm not getting data in my web page. To make matters worse, I saw that my trial code was expiring in 2 weeks, so I went ahead and applied for a key of my own. Yeah, so that means the Zend Server Monitor no longer works.
Where are the logs with the error messages that let me debug a script?
/www/zendsvr/logs/error_log.Q112103100 has no errors for my request.
/www/zendsvr/logs/access_log.Q112103100 just shows that the httpd status was 500; it doesn't tell me what failed.
Finally found /usr/local/zendsvr/var/log/php.log (due to the blessing and curse of IFS security, I cannot view it under my profile, even though my name is specifically listed on the directory with *RX authority, and it takes "forever" to set security properly - no wonder so many things have *PUBLIC *RWX on them.)
Unfortunately, it's the "Call to undefined function i5_prepare()" again, so I must not have test it successfully yesterday as I thought.
--
Sean Porterfield
-----Original Message-----
From: Porterfield, Sean
Sent: Monday, October 29, 2012 11:58
To: Web Enabling the AS400 / iSeries
Subject: RE: [WEB400] Zend and V7R1
I love the easy fix. Thanks much!
// bring in the Compatibility Wrapper and toolkit
require_once("CW/cw.php");
--
Sean Porterfield
From: Alan Seiden
You received "undefined function i5_pconnect()" because Zend Server no longer ships with the Easycom i5 toolkit.
On a new server installation you need to use the new toolkit. To keep your PHP code 99% unchanged, you can use the included Compatibility Wrapper (CW).
Resources:
http://www.slideshare.net/aseiden/new-php-toolkit-from-zend-and-ibm-open-source-on-ibm-i
http://www.iprodeveloper.com/article/application-development/php-toolkit-perfect-match-rpg-699367
If you need any help just let me know.
This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.
As an Amazon Associate we earn from qualifying purchases.