- Joined
- Jul 20, 2002
For PHP to initially load the oracle extensions libraries it needs the files to have SElinux type textrel_shlib_t. But when apache
runs a PHP script it needs these same oracle extension files to be of type httpd_t otherwise the libraries can't be
loaded.
Does anyone know what userid PHP runs under when it first loads (i.e. before any scripts are run from apache)?
I'm thinking I could add whatever userid PHP runs under to the apache group and then it would be able to access
the files under the httpd_t SELinux context.
runs a PHP script it needs these same oracle extension files to be of type httpd_t otherwise the libraries can't be
loaded.
Does anyone know what userid PHP runs under when it first loads (i.e. before any scripts are run from apache)?
I'm thinking I could add whatever userid PHP runs under to the apache group and then it would be able to access
the files under the httpd_t SELinux context.