Hello all,<br>I am using Oracle 11.2 instant client on CentOS (which i heard is based a version of Fedora/RedHat), and I was trying to use php&#39;s PDO and oci8 modules to test connections to Oracle. <br><br>I had originally gotten a php error about <a href="http://pdo_oci.so/oci8.so">pdo_oci.so/oci8.so</a> data execution on a dynamic
link library, libclsh. I asked selinux boards and they said to try &#39;setsebool -P allow_execstack on&#39;...  I think after that change, i still had issues, so they suggested to turn it off temporarily to see if it works...<br>
<br>So I went into /etc/sysconfig/selinux and set:<br>SELINUX=disabled<br>and my script connected and read some rows from the oracle db.<br><br><br>Im not sure if anyone has had issues with oracle client to work with selinux, without turning it off.<br>
I saw a blog stating to run these, but i have no idea if it will work for my version of oracle, or what it does:<br>&quot;tail -f /var/log/audit/audit.log | tee oracle.log<br>
audit2allow -M oracle &lt; oracle.log<br>
semodule -i oracle.pp&quot;<br><br><br>Thanks!,<br>Ari<br>