note 127113 added to ref.pdo-informix

From: Date: Thu, 19 May 2022 07:03:47 +0000
Subject: note 127113 added to ref.pdo-informix
Groups: php.notes 
Request: Send a blank email to php-notes+get-218490@lists.php.net to get a copy of this message
Informix PDO needs the INFORMIXDIR system variable available to the script running under the webserver, in my case apache 2.4. Using setenv did not work, so I added in the systemd startup script /lib/systemd/system/apache2.service the following: Environment=INFORMIXDIR=/opt/Informix_Software_Bundle in the [Service] section. Of course, the installation directory of your informix libraries may be different than /opt/Informix_Software_Bundle.... ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.47 (proxied: 213.49.104.3) ---- Manual Page -- https://php.net/manual/en/ref.pdo-informix.php Edit -- https://main.php.net/note/edit/127113 Del: integrated -- https://main.php.net/note/delete/127113/integrated Del: useless -- https://main.php.net/note/delete/127113/useless Del: bad code -- https://main.php.net/note/delete/127113/bad+code Del: spam -- https://main.php.net/note/delete/127113/spam Del: non-english -- https://main.php.net/note/delete/127113/non-english Del: in docs -- https://main.php.net/note/delete/127113/in+docs Del: other reasons-- https://main.php.net/note/delete/127113 Reject -- https://main.php.net/note/reject/127113 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#218490) next »