Error with PHP permissions

Hi,

Im Trying to install suite on a Amazon ec2 instance and is the 1st time I get this error during the installation process: (I installed the crm a few times before)

I read about the error and I did everything that said in the forum to solve the error, but I continue getting the same message.

This is the line that I add to my php.ini file located in /etc/php.ini:

session.save_path= "/opt/crmsession"

And this are the permissions to that folder

sh-4.2# cd /opt/
sh-4.2# ls -al
total 12
drwxr-xr-x.  5 root     root       59 Sep 20 06:38 .
dr-xr-xr-x. 19 root     root     4096 Sep 16 12:03 ..
drwxrwxrwx.  2 root     root        6 Sep 20 06:38 crmsession
drwxrwxrwx.  8 ec2-user ec2-user 4096 Sep  7 11:49 glassfish4
drwxr-xr-x.  8 ec2-user ec2-user 4096 Jun 22 06:13 jdk1.8.0_101

The apache service is asigned to usergroup root, in the same way than CRM folder and session folder

root     10486     1  0 07:09 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
apache   10487 10486  0 07:09 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
apache   10488 10486  0 07:09 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
apache   10489 10486  0 07:09 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
apache   10490 10486  0 07:09 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
apache   10491 10486  0 07:09 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
apache   10492 10486  0 07:09 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
apache   10493 10486  0 07:09 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
apache   10494 10486  0 07:09 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND

And /var/www/html

sh-4.2# ls -al
total 8
drwxrwxrwx.  4 apache root   40 Sep 20 06:28 .
drwxr-xr-x.  4 root   root   31 Sep  8 17:16 ..
drwxr-xr-x.  2 root   root 4096 Sep 19 19:59 driverPhotos
drwxr-xr-x. 17 root   root 4096 Aug 31 12:15 suitecrm

I restart my apache to apply the changes, but the error persist, I dont know what I’m doing wrong.

I really appreciate your time and help.

Kind Regards.

By the way this is my php session configuration.

Problem is solved, issue with the user group and owner from local session config

can you give clearer information how to solve this? because i tried to install it in my localhost on my MAC using XAMPP and have this same issues, but don’t really understand with the user group things