Did this article resolve your question/issue?



Using PHP with OpenEdge ODBC driver on Unix/Linux

« Go Back


TitleUsing PHP with OpenEdge ODBC driver on Unix/Linux
URL Name000031743
Article Number000151027
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
The necessary products to use PHP with an OpenEdge Database:

1.) Download PHP

Build PHP as an Apache 2 shared module

2.) Apache HTTP, Apache Http Unix Source and Perl Compatible Regular Expressions

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:
Last Modified Date6/17/2019 9:06 AM
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.