I am trying to get a Zend framework 3 application running on our IBM test system. I used Zend server create a virtual machine. Added an include to the HTTP config file since Zend server generates the virtual host in the wrong place for an IBM system. Restarted apache and the system recognizes the host. I then used Zend server to deploy a basic Zend framework 3 skeleton application. The first page displays, but the next test is to get a framework 404 page by trying to get to a page that does not exist. I get the apache 404 screen. If I can't get the framework 404, I'll never get the next page to display.

Zend server generated this:

<VirtualHost *:9003>

DocumentRoot "/usr/local/zendphp7/var/apps/http/cbs2/9003/_docroot_"
<Directory "/usr/local/zendphp7/var/apps/http/cbs2/9003/_docroot_">
Options +Indexes +FollowSymLinks
DirectoryIndex index.php
Order allow,deny
Allow from all
AllowOverride All

ServerName XXX:9003

# include the folder containing the vhost aliases for zend server deployment
Include "/usr/local/zendphp7/etc/sites.d/http/XXX/9003/*.conf"


I did add the listen statement to the apache config file. Previously I have tried several configurations based on what I can find online. Most placed the DocumentRoot all the way to the public directory. My issue with that is Zend server increments the directory structure each time you deploy the application. I saw a similar question in the IBM I forums at Zend/Rogue Wave from a few years ago. But it was never replied too.

This thread ...


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

This mailing list archive is Copyright 1997-2020 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].