× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hopefully this will help others if they hit the same issue I had when
trying to get zend framework 2 running on the iSeries.

There is an issue in the PHP standard function "glob" that is being used
by Zend Server on the iSeries.
The AIX function does not use the current working directory. This causes
zend framework 2 to not pull in the config/autoload files unless you
point config_glob_paths to the absolute path of the config files.

I've added this to my application.config.php and it is working for me.

'module_listener_options' => array(
'config_glob_paths' => array(
( !defined('GLOB_BRACE') ? getcwd().'/' :
'').'config/autoload/{,*.}{global,local}.php',

I added the check for GLOB_BRACE since that is what is causing the
underlining issue. However if you just add this it will also work:
getcwd().'/config/autoload/{,*.}{global,local}.php',

We are still waiting on a ZF2 database adapter for IBM DB2. Hopefully it
will come in the next release of ZF2.

This is related to issue 2468 on zf2's github page.
https://github.com/zendframework/zf2/issues/2468


Chris Hiebert
Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the
author and do not necessarily represent those of the company.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.