identitylasas.blogg.se

Php informix odbc
Php informix odbc










  1. #PHP INFORMIX ODBC INSTALL#
  2. #PHP INFORMIX ODBC DRIVER#

#PHP INFORMIX ODBC DRIVER#

If everything worked properly, you should have a pdo_informix.so file in /usr/lib64/php/modules/pdo_informix.so Configure Informix PHP PDO Driver configure -with-pdo-informix=$INFORMIXDIR

#PHP INFORMIX ODBC INSTALL#

Next, as user root, download, compile and install PDO Driver: wget Įxport INFORMIXDIR=/opt/IBM/Informix_Client-SDK Doing that requires some development packages from RHEL 8: yum -y install php-devel make Informix PHP PDO Driver is only available in source code, so you will need to compile it.

php informix odbc

If not, just change this folder in following steps to accomodate to your Informix C-SDK installation. We assume, you will install the Informix Client SDK in default folder /opt/IBM/Informix_Client-SDK. Then connect as root and execute installation program. Next, in order to download Informix C-SDK package, go to IBM website  and download Informix Client SDK Developer Edition for Linux x86_64 Versión 4.50.FC2Ĭopy the downloaded tar file to your RHEL 8 Server and extract it in a temporary folder tar xvf ibm.csdk.4.50. In order to install Informix Client SDK you need to install ncurses compatibility library in advance: yum -y install ncurses-compat-libs Informix Client SDK for linux includes dbaccess and other programs which requires ncurses library. Now you should be able to connect to http server and see the welcome page, by opening a browser and pointing to your server IP: server ip] Install Informix Client SDK Last step is to configure firewall to allow external connections to HTTP/HTTPS ports: firewall-cmd -zone=public -add-service=http -permanentįirewall-cmd -zone=public -add-service=https -permanent Notice that, in RHEL 8, PHP is executed by a separate daemon named php-fpm and started also as a service. You need to enable services to start them each time the server is rebooted. Previous command install packages, but doesn’t enable or start the services.

php informix odbc

Php-curl php-xml php-pear php-bcmath php-json mariadb-server To install required packages, execute: yum -y install httpd php php-cli php-fpm php-pdo php-mysqlnd php-zip php-gd php-mbstring \ I assume you’re starting from a RHEL 8 minimal installation, so you need to install all packages to enable Apache HTTP Server and PHP.












Php informix odbc