Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

Using PHP with OpenEdge ODBC driver on Unix/Linux

Information

 
Article Number000031743
EnvironmentProduct: OpenEdge
Version: 10.2B , 11.0 to 11.6 inclusive
OS: Linux
Other: Apache, PHP
Question/Problem Description
Using PHP with OpenEdge ODBC driver on Unix/Linux
How to connect from a php code ( Apache CentOS 7 PHP) to a progress database on a other server centos 7
What are the necessary products and technical solution to use PHP with an OpenEdge Database
How to connect  PHP to a OpenEdge Database via ODBC
How to build PHP including OpenEdge ODBC libraries
How to build a PHP Solution for OpenEdge
Steps to Reproduce
Clarifying Information

 
Error Message
Defect/Enhancement Number
Cause
Resolution
The necessary products to use PHP with an OpenEdge Database:

1.) Download PHP
https://www.php.net/downloads.php

Build PHP as an Apache 2 shared module
https://www.php.net/manual/en/install.unix.apache2.php


2.) Apache HTTP, Apache Http Unix Source and Perl Compatible Regular Expressions 
http://apr.apache.org/
http://httpd.apache.org/
http://pcre.org/

3.) An OpenEdge ODBC driver and ODBC DSN

Any of the license listed in below article will grant ODBC driver. SQL Client Access license is the minimum license required.
Define an ODBC DSN:
4.) An OpenEdge Database Broker which accepts SQL connections

Building a PHP technical Solution:

PHP needs to be built from source and using specific parameters. These steps are outlined by way of example in the following Articles:
Workaround
Notes
Attachment 
Last Modified Date6/17/2019 9:06 AM