× 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.



The book's talking about your own Apache server, which I'd prefer. My servers are already configured (e.g. authentication, firewalls, SSL).

I don't know if it matters, but I don't have any ZENDSVR* libraries. The library is ZENDPHP7. I downloaded it this week, and the menu shows " Zend Server 2018.0.0 for IBM i Management Menu (PHP 7.2)", so I assume it's current.

I'll try putting my sample script in in their DocumentRoot (/www/zendphp7/htdocs) and see what happens. Thank you




-----Original Message-----
From: Jon Paris [mailto:jon.paris@xxxxxxxxxxxxxx]
Sent: Thursday, July 12, 2018 3:29 PM
To: Web400@Midrange. Web400 <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] PHP code doesn't execute

If the http://xxx:10080 brings up "Zend Server Test Page" URL brings up a page the server is working correctly. Where did you put your php test script? It has to be in the server's default doc root.

To find out where that is (just in case it is non-standard):

ADDLIBLE ZENDSVRn (Where n is 6 or 8 or whatever version you loaded - check with WRKLIBPDM ZENDSVR*)

GO ZSMENU

The take option 15 on the menu - that will show you the apache config file and if you take option 5 against that you should see a line like:

DocumentRoot /www/zendsvr6/htdocs

That is where the server is looking to find your script. I don't know why the book had you add all the stuff manually - that should only be needed to integrate the ZendServer with your regular port 80 web site. Normally when starting out you just stick with the default.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.