Knowledge Base Article

Contact Tech Support
excel@excelsystems.com
 (250) 655-1766
 [7:30 - 5:00 PST]
Your Meeting ID will be Provided by a Rep.
Tech Support
Tech Support Home
Software Updates
Knowledge Base
Code Samples
Documentation
Technical News
Software Requirements
Support Testimonials
Contact us to...
Create a Ticket
Request a Free Demo
Suggest a New Feature
Submit Feedback
Upload a Large File
Other Services
Software Training
Professional Services
Product: WebSmart PHP Created: 2007/10/02 Back to Search  
Number: 6991 Type: How to Rate This Article
 

Article Description

Directory, Symbolic Links and Apache HTTP Server Directives needed for Zend Core and WebSmart PHP.

Article Details

If you install WebSmart 6.51 or higher AFTER previously installing Zend Core or Zend Server, your WebSmart Apache HTTP server configuration will be automatically set up to handle PHP programs.
 
However, if you install Zend Core or Zend Server afterwards (or at least didn’t have /www/zendcore/htdocs when the install was run) you need to make some configuration changes after installing Zend Core.
 
Required Directory
Add the directory below after you install Zend Core, using this command:
 
CRTDIR DIR('/www/zendcore/htdocs/wsphp/')
 
The CRTDIR creates the deployment directory for PHW scripts and is the target of the first  symbolic link.  
 
Symbolic Links
Add the following symbolic links, using these commands:

ADDLNK OBJ('/www/zendcore/htdocs/wsphp/') NEWLNK('/www/websmart/htdocs/wsphp/') LNKTYPE(*SYMBOLIC)

ADDLNK  OBJ('/esdi/websmart/') NEWLNK('/www/websmart/htdocs/wsphp/websmart’) LNKTYPE(*SYMBOLIC)

The first link associates the deployment directory for PHW scripts that we recommend with the deployment directory for the Zend Core. The second link makes the IFS resources referenced in the template available to scripts executing out of wsphp.
 
WEBSMART Apache HTTP Server Configuration Changes
Here are the configuration directives that are required for the HTTP server to run WebSmart PHP. If you initially installed an older version of WebSmart, or you installed WebSmart  BEFORE installing the required  components from Zend, you will  need to add these directives to the WebSmart server instance manually: 
 
These statements need to be added at the very top  of your configuration: 

LoadModule proxy_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_http_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_connect_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_ftp_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
 
These directives need to added at the end of the  general configuration section, just before the directory entries:
 
ProxyPass /wsphp/http://127.0.0.1:8000/wsphp/
ProxyPassReverse /wsphp/http://127.0.0.1:8000/wsphp/
Knowledge Base article 7201 includes some general information about how to change your Apache configuration.

 


 

Rate This Page

Did this knowledge base article help you to achieve your goal?  Yes  No  Don't Know

Enter additional comments below.   If you want to hear back from us, include your contact information.

Email Address:
Comments: