Re: [OCLUG-Tech] centos php issue / possibly SELinux

2015-04-21 Thread Prof J C Nash (U30A)
The issue seems to be SELinux. I created a Centos 7 VM locally (SELinux seems to be default set to enforcing) and tried to install Dokuwiki and got the same error msgs about directories not being writable. Went to google and found how to disable SELinux (one line in a config file and reboot).

Re: [OCLUG-Tech] centos php issue / possibly SELinux

2015-04-21 Thread Alan McKay
Go back to the not working state by enabling selinux again Find the selinux errors in /var/log/audit/audit.log and then use audit2allow to turn the errors into the commands you need to allow the behavior. read the fine manual :-) ___ Linux mailing list

Re: [OCLUG-Tech] centos php issue / possibly SELinux

2015-04-21 Thread Joe Burpee
On Tue, Apr 21, 2015 at 15:07:34 -0400, Prof J C Nash (U30A) wrote: So now I need to figure out how to properly set the SELinux policies You should get useful ideas by running sealert Joe ___ Linux mailing list Linux@lists.oclug.on.ca

Re: [OCLUG-Tech] centos php issue / possibly SELinux

2015-04-19 Thread David Manouchehri
Can you run this on the folder(s) that contain your PHP files? find /tmp/ -ls If anything there doesn't have the read and/or execute flag set, that's probably your problem. I know you've probably already checked this, but it's an easy thing to miss. If you want to recursively set all your PHP

[OCLUG-Tech] centos php issue / possibly SELinux

2015-04-18 Thread Prof J C Nash (U30A)
I've recently had a new server set up for me, but that simply means a standardized script has been run. I used to use Ubuntu, but Telfer now has standardized on Centos 7. This seems to act strangely with respect to php files (I'm trying to run Dokuwiki). The main glitch is that files seem not to