Php settings problem

If have a problem with following php settings:
session.use_only_cookies Off Off
session.use_trans_sid On On

It should be the opposite, like this:
session.use_only_cookies On Off
session.use_trans_sid Off On

I edited the php.ini file to change the setting:

Also I tried to add this to .htaccess:
php_value session.use_trans_sid 0
php_value session.use_only_cookies 1

But still can’t override the default settings.