Page 1 of 1

ZendSvr6 / IBM Http config

Posted: Fri Oct 30, 2015 4:48 pm
by rick4525
Hi All,

I have Zend Server 6 for IBM i installed and working and I also have a IBM HTTP server setup and functioning. Can someone tell me the configuration process
of setting up my IBM HTTP web instance to allow for PHP functions? I can access and navigate my IBM HTTP web instance using port 80/443 and everything
functions and does as expected. I would now like to create an HTML page on the IBM HTTP web instance to take advantage of the php functions. Do I just
make changes to my IBM HTTP web instance config to allow this? I can access both web instances (Zend & IBM HTTP) from inside our network but only the
IBM HTTP server externally.

Any guidance or resources would be greatly appreciated,

Thanks
Rick

Re: ZendSvr6 / IBM Http config

Posted: Tue Nov 03, 2015 10:38 pm
by darkluke980
Why you don't simply change zendserver to listen on port 80? Edit /www/zendsvr6/conf/httpd.conf

.. or if you need two instances, instead of starting with IBM http, duplicate /www/zendsvr6 in /www/myserver/ .
Edit /www/myserver/conf/fastcgi.conf and change last line from IpcDir /www/zendsvr6/logs to /www/myhttp/logs
Edit /www/myhttp/conf/httpd.conf and change DocumentRoot if needed ,listen port. If you use port 80 disable IBM HTTP.

Duplicate QUSRSYS/QATMHINSTC.ZENDSVR6 in QUSRSYS.QATMHINSTC.MYHTTP, edit member with option 18 and make a substitution of zendsvr6 with myhttp.

STRTCPSVR *HTTP INSTANCE(*MYHTTP)

Of curse myhttp is the name of your instance.