|
On Jul 13, 2018, at 9:39 AM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:
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 https://urldefense.proofpoint.com/v2/url?u=http-3A__xxx-3A10080&d=DwICAg&c=S6jE3hMA0s16gx2_CUBBn4vjc1odLunI6MSvd_AfdV8&r=Ub_YbVSedaHB7-0yGANN94iTrfkU2nCKT1D5-5Jv01Y&m=8PwenuPndCHJW8TyJb0fJGqDUH7bl617mCKJZTNXpY8&s=vQE9bDmMiChscVVs-Or8wBHLPqzm6P6kghnkjqv6Kxs&e= 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
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing list To post a message email: WEB400@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.co
m_mailman_listinfo_web400&d=DwICAg&c=S6jE3hMA0s16gx2_CUBBn4vjc1odLunI6
MSvd_AfdV8&r=Ub_YbVSedaHB7-0yGANN94iTrfkU2nCKT1D5-5Jv01Y&m=8PwenuPndCH
JW8TyJb0fJGqDUH7bl617mCKJZTNXpY8&s=N7PBImAb5AVGAFHJPlHvjae8KVbH7DFyygT
SILtbtbk&e=
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_web400&d=DwICAg&c=S6jE3hMA0s16gx2_CUBBn4vjc1odLunI6MSvd_AfdV8&r=Ub_YbVSedaHB7-0yGANN94iTrfkU2nCKT1D5-5Jv01Y&m=8PwenuPndCHJW8TyJb0fJGqDUH7bl617mCKJZTNXpY8&s=fiEqS0tSK5UaEcWBBchlatCeW05dsQPAiuBAmWLBCLA&e=.
As an Amazon Associate we earn from qualifying purchases.
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.